1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jellyfin-vue_ynh.git synced 2024-09-03 19:26:31 +02:00

full_replace ynh_setup source upgrade

This commit is contained in:
Salamandar 2024-01-11 00:46:59 +01:00
parent 0b5ace2dd3
commit a2eb3c5512

View file

@ -17,11 +17,10 @@ upgrade_type=$(ynh_check_app_version_changed)
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
if [ "$upgrade_type" == "UPGRADE_APP" ]; then
ynh_script_progression --message="Upgrading source files..." --weight=1
ynh_setup_source --dest_dir="$install_dir/source"
ynh_setup_source --dest_dir="$install_dir/source" --full_replace=1
chown -R $app:www-data "$install_dir"
ynh_script_progression --message="Installing NodeJS..." --weight=20