aboutsummaryrefslogtreecommitdiffstats
path: root/initscripts.spec
diff options
context:
space:
mode:
Diffstat (limited to 'initscripts.spec')
-rw-r--r--initscripts.spec3
1 files changed, 1 insertions, 2 deletions
diff --git a/initscripts.spec b/initscripts.spec
index f6204181..ff3e943e 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -71,8 +71,7 @@ if [ -d /etc/rc.d -a -d /etc/init.d ]; then
exit 1
fi
if [ -d /etc/rc.d ]; then
- mv -f /etc/rc.d/* /etc
- ln -snf . /etc/rc.d
+ mv -f /etc/rc.d/* /etc && rm -rf /etc/rc.d && ln -snf . /etc/rc.d
fi
%post