Bladeren bron

Install bower again

Bob Mottram 7 jaren geleden
bovenliggende
commit
acdb930a07
1 gewijzigde bestanden met toevoegingen van 5 en 0 verwijderingen
  1. 5
    0
      src/freedombone-app-cryptpad

+ 5
- 0
src/freedombone-app-cryptpad Bestand weergeven

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