Install bower again

This commit is contained in:
Bob Mottram 2017-06-08 12:23:52 +01:00
parent 518d563b7a
commit acdb930a07
1 changed files with 5 additions and 0 deletions

View File

@ -286,6 +286,7 @@ function install_cryptpad {
npm install
npm install -g bower@1.8.0
chown -R cryptpad:cryptpad $CRYPTPAD_DIR
su -c 'bower install' - cryptpad
cp config.example.js config.js
if [ ! -f config.js ]; then
@ -333,6 +334,10 @@ function install_cryptpad {
fi
chown -R cryptpad:cryptpad $CRYPTPAD_DIR
# install again
cd $CRYPTPAD_DIR
su -c 'bower install' - cryptpad
systemctl restart nginx
APP_INSTALLED=1