浏览代码

Remove install script

Bob Mottram 8 年前
父节点
当前提交
b6e7c9b16c
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5
    0
      src/freedombone-app-postactiv

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

569
     # This improves performance
569
     # This improves performance
570
     sed -i "s|//\$config\['db'\]\['schemacheck'\].*|\$config\['db'\]\['schemacheck'\] = 'script';|g" $postactiv_config_file
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
     systemctl restart php5-fpm
577
     systemctl restart php5-fpm
573
     systemctl restart nginx
578
     systemctl restart nginx
574
 
579