From 411a150351a49882fef5d499b987ff07600251c0 Mon Sep 17 00:00:00 2001 From: Rodolphe Robles Date: Sat, 4 Apr 2020 09:09:52 +0200 Subject: [PATCH] syntax error on file backup --- hooks/post_app_upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/post_app_upgrade b/hooks/post_app_upgrade index 75be5eb..8744dd3 100644 --- a/hooks/post_app_upgrade +++ b/hooks/post_app_upgrade @@ -26,7 +26,7 @@ sudo cp -avr /tmp/squelettes $final_path/www/squelettes # and copy in config.local.php #================================================= -sudo cp -a /var/www/garradin/config.dist.php var/www/garradin/config.local.dist.php +sudo cp -a /var/www/garradin/config.dist.php var/www/garradin/config.local.php # ynh_replace_string --match_string="const ROOT = __DIR__;" --replace_string="const ROOT = /var/www/garradin;" --target_file="$final_path/config.local.php" ynh_replace_string --match_string="const PREFER_HTTPS = false;" --replace_string="const PREFER_HTTPS = true;" --target_file="$final_path/config.local.php"