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
commit617ebe037d4c8c38dc450fbe9f31648e31fc9dab (patch)
tree28b3822567e5eab926ea4c0849bf523c7b9a87d1 /perl-install/install/install2.pm
parent8881e4939a751f6a10263aabf77da05abb165c76 (diff)
downloaddrakx-backup-do-not-use-617ebe037d4c8c38dc450fbe9f31648e31fc9dab.tar
drakx-backup-do-not-use-617ebe037d4c8c38dc450fbe9f31648e31fc9dab.tar.gz
drakx-backup-do-not-use-617ebe037d4c8c38dc450fbe9f31648e31fc9dab.tar.bz2
drakx-backup-do-not-use-617ebe037d4c8c38dc450fbe9f31648e31fc9dab.tar.xz
drakx-backup-do-not-use-617ebe037d4c8c38dc450fbe9f31648e31fc9dab.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};