summaryrefslogtreecommitdiffstats
path: root/encap
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2007-07-19 11:16:49 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2007-07-19 11:16:49 +0000
commit54414d0fae76274ae6db11ff5a280631df25cc62 (patch)
tree1713d81931ba6c2508e097e884ccc571a077475e /encap
parente3c289d05f513332a11b93b8ea2fc7dd6961a365 (diff)
downloadbcfg2-54414d0fae76274ae6db11ff5a280631df25cc62.tar.gz
bcfg2-54414d0fae76274ae6db11ff5a280631df25cc62.tar.bz2
bcfg2-54414d0fae76274ae6db11ff5a280631df25cc62.zip
...
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3491 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'encap')
-rw-r--r--encap/src/encap-profiles/runit-1.7.2.ep14
1 files changed, 7 insertions, 7 deletions
diff --git a/encap/src/encap-profiles/runit-1.7.2.ep b/encap/src/encap-profiles/runit-1.7.2.ep
index 6e2331724..31e9e40b2 100644
--- a/encap/src/encap-profiles/runit-1.7.2.ep
+++ b/encap/src/encap-profiles/runit-1.7.2.ep
@@ -248,12 +248,12 @@ printf "\n6: Re-enabling services that were installed before package was removed
if [ -d /usr/local/var/service/.disabled ]; then
for service in `ls /usr/local/var/service/.disabled`; do
if [ -h /usr/local/var/service/$service ]; then
- printf "A new version of $service exists, removing old version...\n"
- rm /usr/local/var/service/.disabled/$service
- else
- printf "Re-enabling service $service...\n"
- mv /usr/local/var/service/.disabled/$service /usr/local/var/service/
- fi
+ printf "A new version of $service exists, removing old version...\n"
+ rm /usr/local/var/service/.disabled/$service
+ else
+ printf "Re-enabling service $service...\n"
+ mv /usr/local/var/service/.disabled/$service /usr/local/var/service/
+ fi
done
fi
@@ -319,7 +319,7 @@ fi
if [ -d /etc/event.d ]; then
if [ -f /etc/event.d/SV ]; then
printf "Removing /etc/event.d/SV (Upstart) ...\n"
- initctl stop SV || printf "SV already stopped...\n"
+ initctl stop SV || printf "SV already stopped...\n"
rm /etc/event.d/SV
fi
fi