From 89fa331e8d7b701ed6bdfafd36743fbeda08756d Mon Sep 17 00:00:00 2001 From: Krakinou Date: Sat, 1 Dec 2018 11:49:41 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 9a5e794..65cd665 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -88,11 +88,15 @@ cp ../src/README.md $final_path/README.md cp ../src/CHANGELOG.md $final_path/CHANGELOG.md cp ../src/conf-dist.php $final_path/conf-dist.php cp ../conf/index_source.php $final_path/www/index.php - +test -e $final_path/template-exemple +if [[ ! $? -eq 0 ]]; then + ln -s $final_path/www/template-exemple $final_path/template-exemple +fi #Temporaire - mettre en config ln -s $final_path/lang/fr $final_path/lang/fr_FR ln -s $final_path/lang/it $final_path/lang/it_IT + chown -R www-data:www-data $final_path #adding php-cli for cron