diff options
Diffstat (limited to 'encap')
-rw-r--r-- | encap/src/encap-profiles/runit-1.7.2.ep | 14 |
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 |