diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-01 23:37:11 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-01 23:37:11 +0000 |
commit | 8e0bfa5437a84b163cf32a93ab69b8c4d34c00cf (patch) | |
tree | 880f147a1988bded0d24c1bd39b830da5d85dc8b /mdkapplet | |
parent | 6c798b65d1fb81ea11695ac3e6a98a3eff41bd37 (diff) | |
download | mgaonline-8e0bfa5437a84b163cf32a93ab69b8c4d34c00cf.tar mgaonline-8e0bfa5437a84b163cf32a93ab69b8c4d34c00cf.tar.gz mgaonline-8e0bfa5437a84b163cf32a93ab69b8c4d34c00cf.tar.bz2 mgaonline-8e0bfa5437a84b163cf32a93ab69b8c4d34c00cf.tar.xz mgaonline-8e0bfa5437a84b163cf32a93ab69b8c4d34c00cf.zip |
fix backuping urpmi.cfg
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -341,7 +341,7 @@ sub restart_applet() { sub upgrade() { logIt("backuping urpmi configuration"); - cp_af("$root/etc/urpmi/urpmi.cfg", "$root/etc/urpmi/urpmi.cfg.backup." . int(rand 100000)); + cp_af("$root/etc/urpmi/urpmi.cfg", "$ENV{HOME}/urpmi.cfg.backup." . int(rand 100000)); my $urpm = Rpmdrake::open_db::fast_open_urpmi_db(); |