This commit is contained in:
Bob Mottram 2017-06-14 10:50:46 +01:00
parent a6cbf0dc65
commit 641a576e24
5 changed files with 5 additions and 5 deletions

View File

@ -332,7 +332,7 @@ function install_dokuwiki {
fi fi
apt-get -yq remove --purge apache-bin* apt-get -yq remove --purge apache2-bin*
if [ -d /etc/apache2 ]; then if [ -d /etc/apache2 ]; then
rm -rf /etc/apache2 rm -rf /etc/apache2
echo $'Removed Apache installation after Dokuwiki install' echo $'Removed Apache installation after Dokuwiki install'

View File

@ -822,7 +822,7 @@ function install_searx {
apt-get -yq install git build-essential libxslt-dev python-dev python-virtualenv zlib1g-dev uwsgi uwsgi-plugin-python imagemagick apt-get -yq install git build-essential libxslt-dev python-dev python-virtualenv zlib1g-dev uwsgi uwsgi-plugin-python imagemagick
apt-get -yq install apache2-utils apt-get -yq install apache2-utils
apt-get -yq remove --purge apache-bin* apt-get -yq remove --purge apache2-bin*
if [ -d /etc/apache2 ]; then if [ -d /etc/apache2 ]; then
rm -rf /etc/apache2 rm -rf /etc/apache2
echo $'Removed Apache installation' echo $'Removed Apache installation'

View File

@ -1041,7 +1041,7 @@ function image_setup_utils {
return return
fi fi
chroot "$rootdir" apt-get -yq install apt-transport-https chroot "$rootdir" apt-get -yq install apt-transport-https
chroot "$rootdir" apt-get -yq remove --purge apache-bin* chroot "$rootdir" apt-get -yq remove --purge apache2-bin*
chroot "$rootdir" apt-get -yq dist-upgrade chroot "$rootdir" apt-get -yq dist-upgrade
chroot "$rootdir" apt-get -yq install ca-certificates chroot "$rootdir" apt-get -yq install ca-certificates
chroot "$rootdir" apt-get -yq install apt-utils chroot "$rootdir" apt-get -yq install apt-utils

View File

@ -161,7 +161,7 @@ function install_mariadb {
debconf-set-selections <<< "mariadb-server mariadb-server/root_password password $MARIADB_PASSWORD" debconf-set-selections <<< "mariadb-server mariadb-server/root_password password $MARIADB_PASSWORD"
debconf-set-selections <<< "mariadb-server mariadb-server/root_password_again password $MARIADB_PASSWORD" debconf-set-selections <<< "mariadb-server mariadb-server/root_password_again password $MARIADB_PASSWORD"
apt-get -yq install mariadb-server mariadb-client apt-get -yq install mariadb-server mariadb-client
apt-get -yq remove --purge apache-bin* apt-get -yq remove --purge apache2-bin*
if [ -d /etc/apache2 ]; then if [ -d /etc/apache2 ]; then
rm -rf /etc/apache2 rm -rf /etc/apache2
echo $'Removed Apache installation after MariaDB install' echo $'Removed Apache installation after MariaDB install'

View File

@ -209,7 +209,7 @@ function initial_setup {
return return
fi fi
apt-get -yq remove --purge apache-bin* apt-get -yq remove --purge apache2-bin*
apt-get -yq dist-upgrade apt-get -yq dist-upgrade
apt-get -yq install ca-certificates apt-get -yq install ca-certificates
apt-get -yq install apt-utils apt-get -yq install apt-utils