summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-11-06 15:02:36 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-11-06 15:02:36 +0000
commite5103c45d407a1336154ab1f31cfc05b311e56b5 (patch)
tree29cd2dd80db8dd60891b40f239dd6aa8774c5734
parentf7283e41d91764ad8bd2d532b7895e036ea5d035 (diff)
downloadmgaonline-e5103c45d407a1336154ab1f31cfc05b311e56b5.tar
mgaonline-e5103c45d407a1336154ab1f31cfc05b311e56b5.tar.gz
mgaonline-e5103c45d407a1336154ab1f31cfc05b311e56b5.tar.bz2
mgaonline-e5103c45d407a1336154ab1f31cfc05b311e56b5.tar.xz
mgaonline-e5103c45d407a1336154ab1f31cfc05b311e56b5.zip
make sure lang is loaded before we start the upgrade
At the end of the upgrade, mdkonline-upgrade-helper invokes some ugtk2 code which does a require lang; which in turn tries to load utf8.pm (a module part of the core perl distribution). But if perl was upgraded to a newer version as part of the upgrade, utf8.pm might have moved to location different from where the running perl expects to find it (eg mdkonline-upgrade-helper was started by perl 5.8.0 which looks for its files in a directory containing 5.8.0 but in the mean time perl 5.10.1 was installed so utf8.pm is in a directory containing 5.10.1 in its name) (#55090).
-rw-r--r--NEWS3
-rwxr-xr-xmdkapplet-upgrade-helper1
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index a83dc0ec..8d6122dc 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- mdkapplet-upgrade-helper
+ o make sure utf8.pm is loaded before starting an upgrade (#55090)
+
Version 2.77.8 - 5 November 2009, Thierry Vignaud
- mdkapplet
diff --git a/mdkapplet-upgrade-helper b/mdkapplet-upgrade-helper
index c04b9ee4..13ada0a7 100755
--- a/mdkapplet-upgrade-helper
+++ b/mdkapplet-upgrade-helper
@@ -36,6 +36,7 @@ use ugtk2 qw(:all);
use lib qw(/usr/lib/libDrakX/drakfirsttime);
use mdkonline;
use Rpmdrake::open_db;
+use lang;
ugtk2::add_icon_path("/usr/share/mdkonline/pixmaps/");