Quellcode durchsuchen

Remove install script

Bob Mottram vor 8 Jahren
Ursprung
Commit
b6e7c9b16c
1 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
  1. 5
    0
      src/freedombone-app-postactiv

+ 5
- 0
src/freedombone-app-postactiv Datei anzeigen

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