diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2009-11-06 15:02:36 +0000 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2009-11-06 15:02:36 +0000 |
commit | e5103c45d407a1336154ab1f31cfc05b311e56b5 (patch) | |
tree | 29cd2dd80db8dd60891b40f239dd6aa8774c5734 /mdkapplet-upgrade-helper | |
parent | f7283e41d91764ad8bd2d532b7895e036ea5d035 (diff) | |
download | mgaonline-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).
Diffstat (limited to 'mdkapplet-upgrade-helper')
-rwxr-xr-x | mdkapplet-upgrade-helper | 1 |
1 files changed, 1 insertions, 0 deletions
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/"); |