Skip to content

Commit f90017b

Browse files
authored
Merge pull request #80 from loadsys/f/update-cache-clear
Update CacheClear to Remove DebugKit SQLite File
2 parents 71c3df0 + 7fd1320 commit f90017b

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

cache-clear

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@ if [ "$1" = '-h' ]; then
2525
usage
2626
fi
2727

28+
DIR="$( cd -P "$( dirname "$0" )"/.. >/dev/null 2>&1 && pwd )"
2829

2930
echo "## Clearing cache folders.";
30-
3131
bin/cake cache clear_all
32+
33+
if [ -e "$DIR/tmp/debug_kit.sqlite" ]; then
34+
echo "## Removing DebugKit SQLite file.";
35+
rm $DIR/tmp/debug_kit.sqlite
36+
fi

0 commit comments

Comments
 (0)