1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cryptpad_ynh.git synced 2024-09-03 18:26:14 +02:00

Update upgrade

This commit is contained in:
frju365 2018-12-05 23:05:45 +01:00 committed by GitHub
parent b5d9aab5a2
commit 840cb0cd35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,10 +98,10 @@ ynh_systemd_config
script_dir="$PWD"
pushd "$final_path"
sudo chown -R $app: $final_path
sudo_path npm install
sudo_path npm install -g bower
sudo su -l $app -s /bin/bash -c "cd $final_path && env PATH=$PATH bower install"
chown -R $app: $final_path
npm install
npm install -g bower
exec_login_as $app cd $final_path && env PATH=$PATH bower install
popd
#=================================================