summaryrefslogtreecommitdiff
path: root/bin/cache-clean
blob: 2083475530754ae243739e4653a6589a8bcba265 (plain)
1
2
3
4
#!/bin/bash
DIR=$(dirname $0)
find $DIR/../cache/$1 -not -name .git\* -not -type d -delete
find $DIR/../cache/$1 -empty -type d -delete