summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/install/any.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index d4e310a4d..c7534950e 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,5 +1,6 @@
- do not offer to stop the install when kde3 is installed since kde3
to kde4 upgrade is now done
+- fix checking for kde3 (which is now in /opt)
- diskdrake:
o display a progress bar while formating an ext4 partition
o do not run udevadm in install mode
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");