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

Update upgrade

keep config file
This commit is contained in:
Robles Rodolphe 2023-12-15 10:00:40 +01:00 committed by GitHub
parent 9f642f6014
commit 6d199c674a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,13 +74,13 @@ chmod 644 "/etc/cron.d/$app"
#=================================================
# UPDATE A CONFIG FILE
#=================================================
ynh_script_progression --message="Updating a configuration file..." --weight=5
#ynh_script_progression --message="Updating a configuration file..." --weight=5
# Install configuration files
ynh_add_config --template="config.local.php" --destination="$install_dir/config.local.php"
#ynh_add_config --template="config.local.php" --destination="$install_dir/config.local.php"
chmod 650 "$install_dir/config.local.php"
chown $app:$app "$install_dir/config.local.php"
#chmod 650 "$install_dir/config.local.php"
#chown $app:$app "$install_dir/config.local.php"
#=================================================
# END OF SCRIPT