瀏覽代碼

Remove install script

Bob Mottram 8 年之前
父節點
當前提交
b6e7c9b16c
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. 5
    0
      src/freedombone-app-postactiv

+ 5
- 0
src/freedombone-app-postactiv 查看文件

@@ -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