Yet^7 another bugfix to pre/postinst script
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
# installer to just bloody hang.)
|
||||
|
||||
if [ ! -e /etc/swarmops/database.config ]; then
|
||||
if [ ! -e /etc/init.d/apache2 ]; then
|
||||
if [ -e /etc/init.d/apache2 ]; then
|
||||
if /etc/init.d/apache2 status > /dev/null; then
|
||||
# Set a flag to postinst to restart Apache
|
||||
echo foo > /tmp/swarmops-restart-apache.flag
|
||||
|
||||
Reference in New Issue
Block a user