소스 검색

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