We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da9f49a commit 7fd1320Copy full SHA for 7fd1320
1 file changed
cache-clear
@@ -25,12 +25,12 @@ if [ "$1" = '-h' ]; then
25
usage
26
fi
27
28
+DIR="$( cd -P "$( dirname "$0" )"/.. >/dev/null 2>&1 && pwd )"
29
30
echo "## Clearing cache folders.";
-
31
bin/cake cache clear_all
32
33
-echo "## Removing DebugKit SQLite file.";
34
35
-DIR="$( cd -P "$( dirname "$0" )"/.. >/dev/null 2>&1 && pwd )"
36
-rm $DIR/tmp/debug_kit.sqlite
+if [ -e "$DIR/tmp/debug_kit.sqlite" ]; then
+ echo "## Removing DebugKit SQLite file.";
+ rm $DIR/tmp/debug_kit.sqlite
+fi
0 commit comments