diff --git a/src/freedombone b/src/freedombone index d86c0521..a66cb244 100755 --- a/src/freedombone +++ b/src/freedombone @@ -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