summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rwxr-xr-xmgaapplet-upgrade-helper2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 43267036..9326b55a 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
Version 2.77.28 - 28 May 2010, Thomas Backlund
- disable suggesting powerpack upgrade (mga #1153)
+- dont pollute homedir with urpmi.cfg backup files
Version 2.77.27 - 27 May 2010, Thierry Vignaud
diff --git a/mgaapplet-upgrade-helper b/mgaapplet-upgrade-helper
index 13fb40ec..36581b3e 100755
--- a/mgaapplet-upgrade-helper
+++ b/mgaapplet-upgrade-helper
@@ -246,7 +246,7 @@ sub upgrade() {
run_program::raw({ detach => 1 }, 'xdg-screensaver', 'suspend', $xid);
my $_w = before_leaving { run_program::raw({ detach => 1 }, 'xdg-screensaver', 'resume', $xid) };
- my $file = "$ENV{HOME}/urpmi.cfg.backup." . int(rand 100000);
+ my $file = "$ENV{HOME}/.MgaOnline/urpmi.cfg.backup." . int(rand 100000);
log::explanations("backuping urpmi configuration in $file");
cp_af("$root/etc/urpmi/urpmi.cfg", $file);