summaryrefslogtreecommitdiffstats
path: root/perl-install/install/install2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-05-23 18:27:39 +0000
committerThierry Vignaud <tv@mageia.org>2012-05-23 18:27:39 +0000
commit7db5ec8b02b9b50b6232ada3388452646a347f2a (patch)
tree28b3822567e5eab926ea4c0849bf523c7b9a87d1 /perl-install/install/install2.pm
parent3fbc6f2b6d47f42a8ed41a90767f6161b44c222f (diff)
downloaddrakx-7db5ec8b02b9b50b6232ada3388452646a347f2a.tar
drakx-7db5ec8b02b9b50b6232ada3388452646a347f2a.tar.gz
drakx-7db5ec8b02b9b50b6232ada3388452646a347f2a.tar.bz2
drakx-7db5ec8b02b9b50b6232ada3388452646a347f2a.tar.xz
drakx-7db5ec8b02b9b50b6232ada3388452646a347f2a.zip
explain
Diffstat (limited to 'perl-install/install/install2.pm')
-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};