From 4f1b44fdda425858862dfb0e74e287d2742f9315 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 28 Jan 2016 17:35:03 +0100 Subject: [PATCH] Clean template cache during upgradeFromGit --- upgradeFromGit.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/upgradeFromGit.sh b/upgradeFromGit.sh index fcf89de3..46e5f962 100755 --- a/upgradeFromGit.sh +++ b/upgradeFromGit.sh @@ -87,6 +87,16 @@ then fi fi +msg "\t\t-> Clean template cache : " -en +rm -f $ROOT_DIR/public_html/tmp/*.tpl.php +if [ $? -gt 0 ] +then + msg "Error" + exit 1 +else + msg "Ok" +fi + msg "-> Verification of git repos state : " git status >> $LOG_FILE 2>&1 if [ "$ETAT" != "" ]