aboutsummaryrefslogtreecommitdiffstats
path: root/initscripts.spec
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-07-07 20:25:15 +0000
committerBill Nottingham <notting@redhat.com>2000-07-07 20:25:15 +0000
commitcd28fb769c4b4ab8517aa8a2171bd79ecdc50f0a (patch)
tree42663bb6576669384c0dfed7256fcd76ac8a2eb3 /initscripts.spec
parent11d5168a28aeec1ad104f31f77273c78847e8b3c (diff)
downloadinitscripts-cd28fb769c4b4ab8517aa8a2171bd79ecdc50f0a.tar
initscripts-cd28fb769c4b4ab8517aa8a2171bd79ecdc50f0a.tar.gz
initscripts-cd28fb769c4b4ab8517aa8a2171bd79ecdc50f0a.tar.bz2
initscripts-cd28fb769c4b4ab8517aa8a2171bd79ecdc50f0a.tar.xz
initscripts-cd28fb769c4b4ab8517aa8a2171bd79ecdc50f0a.zip
check to see if rc.d exists
Diffstat (limited to 'initscripts.spec')
-rw-r--r--initscripts.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 6c298d7f..82d334af 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -66,7 +66,7 @@ touch $RPM_BUILD_ROOT/var/log/wtmp
%pre
/usr/sbin/groupadd -g 22 -r -f utmp
-if [ ! -L /etc/rc.d -a -d /etc/init.d ]; then
+if [ -e /etc/rc.d ! -L /etc/rc.d -a -d /etc/init.d ]; then
echo "can't move /etc/rc.d/init.d -> /etc/init.d - bailing"
exit 1
fi