From 660d4ad309fb40098f9cf6b0239275ce3be9d85c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 14 Oct 2008 00:41:48 +0000 Subject: (upgrade) log where is backuped urpmi.cfg --- mdkapplet-upgrade-helper | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mdkapplet-upgrade-helper') 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(); -- cgit v1.2.1