diff options
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | mdkapplet-upgrade-helper | 5 |
2 files changed, 4 insertions, 2 deletions
@@ -4,6 +4,7 @@ o do not crash if image cannot be loaded (#44750) o split upgrade code into mdkapplet-upgrade-helper: * ask for root password earlier, before removing media (#44771) + * log where is backuped urpmi.cfg * run up to 4 gurpmi passes if needed Version 2.55 - 10 October 2008 diff --git a/mdkapplet-upgrade-helper b/mdkapplet-upgrade-helper index fc203df4..f2579d72 100755 --- a/mdkapplet-upgrade-helper +++ b/mdkapplet-upgrade-helper @@ -111,8 +111,9 @@ sub upgrade_distro_congratulations() { } sub upgrade() { - log::explanations("backuping urpmi configuration"); - cp_af("$root/etc/urpmi/urpmi.cfg", "$ENV{HOME}/urpmi.cfg.backup." . int(rand 100000)); + my $file = "$ENV{HOME}/urpmi.cfg.backup." . int(rand 100000); + log::explanations("backuping urpmi configuration in $file"); + cp_af("$root/etc/urpmi/urpmi.cfg", $file); my $urpm = Rpmdrake::open_db::fast_open_urpmi_db(); |