diff options
author | Thomas Backlund <tmb@mageia.org> | 2011-05-28 19:04:47 +0000 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2011-05-28 19:04:47 +0000 |
commit | f8b449c246041741451739f3e748291460159abc (patch) | |
tree | 7324129feaf092392c09e69b328e24c6871a65f6 | |
parent | b8acd90b5f4d0735f22c101f91c057ba07e12b90 (diff) | |
download | mgaonline-f8b449c246041741451739f3e748291460159abc.tar mgaonline-f8b449c246041741451739f3e748291460159abc.tar.gz mgaonline-f8b449c246041741451739f3e748291460159abc.tar.bz2 mgaonline-f8b449c246041741451739f3e748291460159abc.tar.xz mgaonline-f8b449c246041741451739f3e748291460159abc.zip |
dont pollute homedir with urpmi.cfg backup files
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | mgaapplet-upgrade-helper | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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); |