aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ak-zblock-cache5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/ak-zblock-cache b/bin/ak-zblock-cache
index 1e2213f..f1a1c2b 100755
--- a/bin/ak-zblock-cache
+++ b/bin/ak-zblock-cache
@@ -4,6 +4,11 @@ logit(){
ak-logthis "<$PROGRAM>" "$1" "$2"
}
+if [ ! -d "$AK_CACHEDIR/fzblocks" ]
+then
+ mkdir $AK_CACHEDIR/fzblocks
+fi
+
if [ ! -z "$1" ]
then
if [ -f "$AK_ZBLOCKDIR/$1" ] && [ "$(du -b $AK_ZBLOCKDIR | awk '{ print $1 }')" != "0" ]