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

syntax error on file backup

This commit is contained in:
Rodolphe Robles 2020-04-04 09:09:52 +02:00
parent 7eb6ddc593
commit 411a150351

View file

@ -26,7 +26,7 @@ sudo cp -avr /tmp/squelettes $final_path/www/squelettes
# and copy in config.local.php # 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 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" ynh_replace_string --match_string="const PREFER_HTTPS = false;" --replace_string="const PREFER_HTTPS = true;" --target_file="$final_path/config.local.php"