浏览代码

Install bower again

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

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

286
 
286
 
287
     npm install
287
     npm install
288
     npm install -g bower@1.8.0
288
     npm install -g bower@1.8.0
289
+    chown -R cryptpad:cryptpad $CRYPTPAD_DIR
289
     su -c 'bower install' - cryptpad
290
     su -c 'bower install' - cryptpad
290
     cp config.example.js config.js
291
     cp config.example.js config.js
291
     if [ ! -f config.js ]; then
292
     if [ ! -f config.js ]; then
333
     fi
334
     fi
334
     chown -R cryptpad:cryptpad $CRYPTPAD_DIR
335
     chown -R cryptpad:cryptpad $CRYPTPAD_DIR
335
 
336
 
337
+    # install again
338
+    cd $CRYPTPAD_DIR
339
+    su -c 'bower install' - cryptpad
340
+
336
     systemctl restart nginx
341
     systemctl restart nginx
337
 
342
 
338
     APP_INSTALLED=1
343
     APP_INSTALLED=1