summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-01 23:37:11 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-01 23:37:11 +0000
commit8e0bfa5437a84b163cf32a93ab69b8c4d34c00cf (patch)
tree880f147a1988bded0d24c1bd39b830da5d85dc8b /mdkapplet
parent6c798b65d1fb81ea11695ac3e6a98a3eff41bd37 (diff)
downloadmgaonline-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-xmdkapplet2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index 73cf5ef6..a1604171 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -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();