updated update-all.sh

pull/1/head
Cédric Bonhomme 2017-08-25 09:42:36 +02:00
parent 52bd8a618b
commit 20155cfa5f
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
1 changed files with 11 additions and 3 deletions

View File

@ -136,10 +136,18 @@ if [[ $forceClearCache -eq 1 ]]; then
$phpcommand ./public/index.php orm:clear-cache:result $phpcommand ./public/index.php orm:clear-cache:result
# Clear ZF2 cache # Clear ZF2 cache
if [ -e ./data/cache/upgrade ]
then
touch ./data/cache/upgrade && chmod 777 ./data/cache/upgrade touch ./data/cache/upgrade && chmod 777 ./data/cache/upgrade
fi
fi fi
if [[ $forceClearCache -eq 0 && $bypass -eq 0 ]]; then if [[ $forceClearCache -eq 0 && $bypass -eq 0 ]]; then
# Clear ZF2 cache # Clear ZF2 cache
if [ -e ./data/cache/upgrade ]
then
touch ./data/cache/upgrade && chmod 777 ./data/cache/upgrade touch ./data/cache/upgrade && chmod 777 ./data/cache/upgrade
fi
fi fi
exit 0