summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center2
-rw-r--r--drakconf.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/control-center b/control-center
index bc68e544..3254cc01 100755
--- a/control-center
+++ b/control-center
@@ -42,7 +42,7 @@ use POSIX qw(uname);
my $in = 'interactive'->vnew('su', 'default');
-my ($_version, $conffile) = ("9.0", "/etc/mcc");
+my ($_version, $conffile) = ("9.0", "/etc/mcc.conf");
my %h = getVarsFromSh($conffile);
defined $h{THEME} or $h{THEME} = 'default';
defined $h{EMBEDDED} or $h{EMBEDDED} = bool2text(1);
diff --git a/drakconf.spec b/drakconf.spec
index 6f8a885a..61e149f2 100644
--- a/drakconf.spec
+++ b/drakconf.spec
@@ -76,7 +76,7 @@ touch %buildroot/etc/mcc.conf
%clean_menus
%triggerun -- %{name} < 9.0-0.5mdk
-cp -af /{root,etc}/mcc.conf
+[[ -e /root/mcc.conf ]] && cp -af /root/.mcc /etc/mcc.conf
%clean
rm -rf $RPM_BUILD_ROOT