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:28 +01:00
parent 9d8e07831b
commit 19218f5ed5

View file

@ -241,7 +241,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"