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 /mgaapplet-upgrade-helper | |
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
Diffstat (limited to 'mgaapplet-upgrade-helper')
-rwxr-xr-x | mgaapplet-upgrade-helper | 2 |
1 files changed, 1 insertions, 1 deletions
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); |