1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/linkstack_ynh.git synced 2024-09-03 19:36:14 +02:00

[autopatch] TEST BEFORE MERGE ynh_setup_source --full_replace=1

This commit is contained in:
Yunohost-Bot 2024-03-11 16:06:02 +01:00 committed by Félix Piédallu
parent 4c392a8063
commit 6e157c17f1
2 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@ ynh_restore_file --origin_path="$install_dir"
# $install_dir will automatically be initialized with some decent
# permission by default ... however, you may need to recursively reapply
# ownership to all files such as after the ynh_setup_source step
# ownership to all files such as after the ynh_setup_source step --full_replace=1
chown -R $app:www-data "$install_dir"
#=================================================

View file

@ -35,7 +35,7 @@ then
# Download, check integrity, uncompress and patch the source from app.src
# Keep .env and database.sqlite !
ynh_setup_source --dest_dir="$install_dir" --keep=".env database/database.sqlite"
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep=".env database/database.sqlite"
# Remove this file as the app is already installed
ynh_secure_remove $install_dir/INSTALLING
@ -43,7 +43,7 @@ fi
# $install_dir will automatically be initialized with some decent
# permission by default ... however, you may need to recursively reapply
# ownership to all files such as after the ynh_setup_source step
# ownership to all files such as after the ynh_setup_source step --full_replace=1
chown -R $app:www-data "$install_dir"
chmod o-rwx "$install_dir" -R