diff --git a/src/freedombone-app-cryptpad b/src/freedombone-app-cryptpad index 669aea2c..7dbd5a84 100755 --- a/src/freedombone-app-cryptpad +++ b/src/freedombone-app-cryptpad @@ -37,7 +37,7 @@ SHOW_ICANN_ADDRESS_ON_ABOUT=0 CRYPTPAD_ONION_PORT=8119 CRYPTPAD_PORT=9003 CRYPTPAD_REPO="https://github.com/xwiki-labs/cryptpad" -CRYPTPAD_COMMIT='52d344c3d1404d75d2bf4ae8845e5c024e85ec7f' +CRYPTPAD_COMMIT='cfc9ce33d6c7034a13cb0e6d606de6fba38697e0' CRYPTPAD_DIR=/etc/cryptpad cryptpad_variables=(ONION_ONLY) @@ -101,9 +101,12 @@ function upgrade_cryptpad { set_repo_commit $CRYPTPAD_DIR "cryptpad commit" "$CRYPTPAD_COMMIT" $CRYPTPAD_REPO cd $CRYPTPAD_DIR + npm upgrade npm install + su -c 'echo "2" | bower update' - cryptpad + su -c 'bower install --config.interactive=false' - cryptpad cryptpad_generate_api_config - su -c 'bower install' - cryptpad + chown -R cryptpad:cryptpad $CRYPTPAD_DIR systemctl start cryptpad }