Browse Source

Try to ensure that Apache doesn't get installed

Bob Mottram 10 years ago
parent
commit
ef40df6945
1 changed files with 10 additions and 0 deletions
  1. 10
    0
      src/freedombone

+ 10
- 0
src/freedombone View File

6145
       fi
6145
       fi
6146
   fi
6146
   fi
6147
   apt-get -y install owncloud
6147
   apt-get -y install owncloud
6148
+  apt-get -y remove --purge apache*
6149
+  if [ -d /etc/apache2 ]; then
6150
+      rm -rf /etc/apache2
6151
+      echo 'Removed Apache installation'
6152
+  fi
6148
   install_mariadb
6153
   install_mariadb
6149
   get_mariadb_password
6154
   get_mariadb_password
6150
 
6155
 
6569
       return
6574
       return
6570
   fi
6575
   fi
6571
   apt-get -y install dokuwiki
6576
   apt-get -y install dokuwiki
6577
+  apt-get -y remove --purge apache*
6578
+  if [ -d /etc/apache2 ]; then
6579
+      rm -rf /etc/apache2
6580
+      echo 'Removed Apache installation'
6581
+  fi
6572
 
6582
 
6573
   if [ ! -d /var/www/$WIKI_DOMAIN_NAME ]; then
6583
   if [ ! -d /var/www/$WIKI_DOMAIN_NAME ]; then
6574
       mkdir /var/www/$WIKI_DOMAIN_NAME
6584
       mkdir /var/www/$WIKI_DOMAIN_NAME