Try to ensure that Apache doesn't get installed
This commit is contained in:
parent
da606c5574
commit
ef40df6945
|
@ -6145,6 +6145,11 @@ function install_owncloud {
|
|||
fi
|
||||
fi
|
||||
apt-get -y install owncloud
|
||||
apt-get -y remove --purge apache*
|
||||
if [ -d /etc/apache2 ]; then
|
||||
rm -rf /etc/apache2
|
||||
echo 'Removed Apache installation'
|
||||
fi
|
||||
install_mariadb
|
||||
get_mariadb_password
|
||||
|
||||
|
@ -6569,6 +6574,11 @@ function install_wiki {
|
|||
return
|
||||
fi
|
||||
apt-get -y install dokuwiki
|
||||
apt-get -y remove --purge apache*
|
||||
if [ -d /etc/apache2 ]; then
|
||||
rm -rf /etc/apache2
|
||||
echo 'Removed Apache installation'
|
||||
fi
|
||||
|
||||
if [ ! -d /var/www/$WIKI_DOMAIN_NAME ]; then
|
||||
mkdir /var/www/$WIKI_DOMAIN_NAME
|
||||
|
|
Loading…
Reference in New Issue