summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install/install2.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index 5ff92fb59..def34573b 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -720,6 +720,7 @@ sub finish_install() {
#- make sure failed upgrade will not hurt too much.
install::steps::cleanIfFailedUpgrade($o);
+ #- drop urpmi DB if urpmi is not installed:
-e "$::prefix/usr/sbin/urpmi.update" or eval { rm_rf("$::prefix/var/lib/urpmi") };
system("chroot", $::prefix, "bash", "-c", $o->{postInstallBeforeReboot}) if $o->{postInstallBeforeReboot};