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

Upgrade: update list of keep files

This commit is contained in:
Salamandar 2024-02-20 15:55:22 +01:00
parent 51cc7cf392
commit 6615ed0f57

View file

@ -40,7 +40,8 @@ fi
ynh_script_progression --message="Upgrading source files..." --weight=5 ynh_script_progression --message="Upgrading source files..." --weight=5
# 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 --full_replace=1 --keep="config/config_inc.php" ynh_setup_source --dest_dir=$install_dir --full_replace=1 \
--keep="config/config_inc.php config/custom_strings_inc.php config/custom_constants_inc.php config/custom_functions_inc.php"
# Set permissions to app files # Set permissions to app files
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"