summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2015-02-17 18:00:38 +0100
committerRémi Verschelde <remi@verschelde.fr>2015-02-17 18:00:38 +0100
commitafd530473409fb3504f831f5590539a95d635689 (patch)
treea63fc4a132ddc4b93992d80a6b0bedd1f62ae496
parentf158df2a2612c10a3624e8088d2da66c1c21ed54 (diff)
downloadmgaonline-afd530473409fb3504f831f5590539a95d635689.tar
mgaonline-afd530473409fb3504f831f5590539a95d635689.tar.gz
mgaonline-afd530473409fb3504f831f5590539a95d635689.tar.bz2
mgaonline-afd530473409fb3504f831f5590539a95d635689.tar.xz
mgaonline-afd530473409fb3504f831f5590539a95d635689.zip
Revert config directory to /root/.MdkOnline to preserve existing config
-rw-r--r--mgaonline.pm2
-rwxr-xr-xmgaupdate2
2 files changed, 2 insertions, 2 deletions
diff --git a/mgaonline.pm b/mgaonline.pm
index 7deefd2d..d9c28bee 100644
--- a/mgaonline.pm
+++ b/mgaonline.pm
@@ -128,7 +128,7 @@ sub get_distro_list() {
sub clean_confdir() {
- my $confdir = '/root/.MgaOnline';
+ my $confdir = '/root/.MdkOnline';
system "/bin/rm", "-f", "$confdir/*log.bz2", "$confdir/*log.bz2.uue", "$confdir/*.dif $confdir/rpm_qa_installed_before", "$confdir/rpm_qa_installed_after";
}
diff --git a/mgaupdate b/mgaupdate
index 5c2f01b1..cacbec6a 100755
--- a/mgaupdate
+++ b/mgaupdate
@@ -41,7 +41,7 @@ BEGIN { unshift @::textdomains, 'mgaupdate' }
require_root_capability();
-my $confdir = '/root/.MgaOnline';
+my $confdir = '/root/.MdkOnline';
my $conffile = "$confdir/mgaupdate";
my $logfile = '/var/tmp/mgaupdate.log';