summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
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();