mirror of
https://github.com/YunoHost-Apps/snipeit_ynh.git
synced 2024-09-03 20:26:16 +02:00
Fix upgrade: ynh_setup_source should overwrite the whole directory.
This commit is contained in:
parent
5cad88d7af
commit
a3d88e4a1d
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ then
|
|||
ynh_script_progression --message="Upgrading source files..." --weight=7
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir" --keep=".env storage/oauth-private.key storage/oauth-public.key storage/private_uploads public/uploads"
|
||||
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep=".env storage/oauth-private.key storage/oauth-public.key storage/private_uploads public/uploads"
|
||||
fi
|
||||
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
|
Loading…
Add table
Reference in a new issue