1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/scrumblr_ynh.git synced 2024-09-03 20:16:29 +02:00

Update upgrade

This commit is contained in:
ericgaspar 2021-11-28 23:20:45 +01:00
parent 2ddc574acc
commit dd93ff2b20
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -87,17 +87,19 @@ then
ynh_secure_remove --file="$final_path"
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path"
pushd $final_path
ynh_use_nodejs
ynh_exec_warn_less $ynh_npm install
popd
fi
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
pushd $final_path
ynh_use_nodejs
ynh_exec_warn_less $ynh_npm install
popd
fi
#=================================================
# NGINX CONFIGURATION
#=================================================