Friday release
This commit is contained in:
parent
10eb72688f
commit
c349769425
16 changed files with 319 additions and 89 deletions
15
clear_cache.sh
Executable file
15
clear_cache.sh
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd `dirname "$0"`
|
||||
|
||||
for n in "$@"
|
||||
do
|
||||
MD5=`echo -n $n | md5sum | cut -d " " -f 1`
|
||||
if [ -f "onyx/cache/$MD5.cache.php" ]
|
||||
then
|
||||
rm -f "onyx/cache/$MD5.cache.php"
|
||||
echo "--- $n deleted"
|
||||
else
|
||||
echo "/!\\ $n not found ($MD5)"
|
||||
fi
|
||||
done
|
||||
Reference in a new issue