1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phplicensewatcher_ynh.git synced 2024-09-03 19:56:32 +02:00

Fix upgrade full_replace

This commit is contained in:
Salamandar 2024-01-13 13:09:05 +01:00
parent c55254426c
commit b31bb9a7d4

View file

@ -15,7 +15,7 @@ source /usr/share/yunohost/helpers
ynh_script_progression --message="Upgrading source files..." --weight=1 ynh_script_progression --message="Upgrading source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --keep="$install_dir/config.php" ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="$install_dir/config.php"
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"
chown -R "$app:www-data" "$install_dir" chown -R "$app:www-data" "$install_dir"