1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garradin_ynh.git synced 2024-09-03 18:36:17 +02:00

disable auto-upgrade

This commit is contained in:
Robles Rodolphe 2021-12-05 15:55:58 +01:00
parent 19218f5ed5
commit 4ba25bc0f3

View file

@ -94,7 +94,7 @@ if [ "$path_url" == "/" ]; then
else
ynh_replace_string --match_string="//const WWW_URI = '/asso/';" --replace_string="const WWW_URI = '$path_url/';" --target_file="$final_path/config.local.php"
fi
ynh_replace_string --match_string="//const ENABLE_UPGRADES = true;" --replace_string="//const ENABLE_UPGRADES = false;" --target_file="$final_path/config.local.php"
ynh_replace_string --match_string="//const ENABLE_UPGRADES = true;" --replace_string="const ENABLE_UPGRADES = false;" --target_file="$final_path/config.local.php"
# Permissions on files and directories
chmod -R o-rwx "$final_path"