summaryrefslogtreecommitdiffstats
path: root/perl-install/install/any.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-04-21 12:53:11 +0000
committerThierry Vignaud <tv@mandriva.org>2009-04-21 12:53:11 +0000
commit6fba88fda680358f99b31ba221fad5f719c1a33c (patch)
tree9da99f5e408113344d93aab9a962a95dd6817ada /perl-install/install/any.pm
parentc29dd9dec005570550def3307b9233d454b604e5 (diff)
downloaddrakx-backup-do-not-use-6fba88fda680358f99b31ba221fad5f719c1a33c.tar
drakx-backup-do-not-use-6fba88fda680358f99b31ba221fad5f719c1a33c.tar.gz
drakx-backup-do-not-use-6fba88fda680358f99b31ba221fad5f719c1a33c.tar.bz2
drakx-backup-do-not-use-6fba88fda680358f99b31ba221fad5f719c1a33c.tar.xz
drakx-backup-do-not-use-6fba88fda680358f99b31ba221fad5f719c1a33c.zip
(upgrade_kde3_to_kde4) fix checking for kde3 (which is now in /opt)
Diffstat (limited to 'perl-install/install/any.pm')
-rw-r--r--perl-install/install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index abb9dc8b7..4d925cc91 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -400,7 +400,7 @@ sub remove_package_for_upgrade {
sub upgrade_kde3_to_kde4 {
my ($o) = @_;
- if (-e "$::prefix/usr/bin/kicker"
+ if ((-e "$::prefix/usr/bin/kicker" || -e "$::prefix/opt/kde3/bin/kicker")
&& !install::pkgs::packageByName($o->{packages}, 'task-kde3')) {
log::l("kde3 installed, but task-kde3 not available so can't upgrade correctly");
log::l("ok, continuing anyway, but forcing install of task-kde4");