1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/filebrowser_ynh.git synced 2024-09-03 18:36:05 +02:00

Merge pull request #38 from YunoHost-Apps/upgrade_full_replace

[autopatch] TEST BEFORE MERGE ynh_setup_source --full_replace=1
This commit is contained in:
eric_G 2024-05-01 09:11:13 +02:00 committed by GitHub
commit 2661558974
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,8 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd"
#=================================================
ynh_script_progression --message="Upgrading source files..." --weight=4
ynh_setup_source --dest_dir="$install_dir" --keep="settings.json"
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="settings.json"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"