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:
parent
b5d9aab5a2
commit
840cb0cd35
1 changed files with 4 additions and 4 deletions
|
@ -98,10 +98,10 @@ ynh_systemd_config
|
||||||
|
|
||||||
script_dir="$PWD"
|
script_dir="$PWD"
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
sudo chown -R $app: $final_path
|
chown -R $app: $final_path
|
||||||
sudo_path npm install
|
npm install
|
||||||
sudo_path npm install -g bower
|
npm install -g bower
|
||||||
sudo su -l $app -s /bin/bash -c "cd $final_path && env PATH=$PATH bower install"
|
exec_login_as $app cd $final_path && env PATH=$PATH bower install
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue