浏览代码

sqlite failures are expected

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

+ 0
- 7
src/freedombone-app-ghost 查看文件

308
 
308
 
309
     sed -i "/sqlite/d" /var/www/${GHOST_DOMAIN_NAME}/htdocs/package.json
309
     sed -i "/sqlite/d" /var/www/${GHOST_DOMAIN_NAME}/htdocs/package.json
310
     npm install --production
310
     npm install --production
311
-    if [ ! "$?" = "0" ]; then
312
-        function_check remove_nodejs
313
-        remove_nodejs ghost
314
-        rm -rf /var/www/$GHOST_DOMAIN_NAME
315
-        echo $'Failed to install ghost'
316
-        exit 7383563
317
-    fi
318
 
311
 
319
     function_check install_mariadb
312
     function_check install_mariadb
320
     install_mariadb
313
     install_mariadb