diff --git a/src/freedombone-app-postactiv b/src/freedombone-app-postactiv index 9438deb9..f75aaa63 100755 --- a/src/freedombone-app-postactiv +++ b/src/freedombone-app-postactiv @@ -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