updated update-all.sh
parent
52bd8a618b
commit
20155cfa5f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue