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

Update upgrade

This commit is contained in:
Thomas 2024-03-12 10:15:55 +01:00 committed by GitHub
parent 081c721336
commit 0849031aba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,13 +37,9 @@ ynh_npm install --global yarn
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
ynh_script_progression --message="Setting up source files..." --weight=1
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Upgrading source files..."
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="$install_dir/config"
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="$install_dir/config"
chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir"