Remove install script

This commit is contained in:
Bob Mottram 2016-11-02 16:13:42 +00:00
parent aebeef3515
commit b6e7c9b16c
1 changed files with 5 additions and 0 deletions

View File

@ -569,6 +569,11 @@ function install_postactiv_main {
# This improves performance
sed -i "s|//\$config\['db'\]\['schemacheck'\].*|\$config\['db'\]\['schemacheck'\] = 'script';|g" $postactiv_config_file
# remove the install script
if [ -f /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/install.php ]; then
rm /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/install.php
fi
systemctl restart php5-fpm
systemctl restart nginx