diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-08-20 21:03:03 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-08-20 21:03:03 +0300 |
commit | 1a96713b1a5fc0832f83781b5bd96fe870fb5a23 (patch) | |
tree | b94deb75ef05c70b9216e43a3fbf8a9f7d6ec980 | |
parent | feb828c6ca4af1708c4c204a86150f37ca3eaa0e (diff) | |
download | arching-kaos-tools-1a96713b1a5fc0832f83781b5bd96fe870fb5a23.tar.gz arching-kaos-tools-1a96713b1a5fc0832f83781b5bd96fe870fb5a23.tar.bz2 arching-kaos-tools-1a96713b1a5fc0832f83781b5bd96fe870fb5a23.zip |
Cache folder initial appearence
-rwxr-xr-x[-rw-r--r--] | api/make_cache.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/api/make_cache.sh b/api/make_cache.sh index b9e7cb9..03dab99 100644..100755 --- a/api/make_cache.sh +++ b/api/make_cache.sh @@ -1,4 +1,9 @@ +#!/bin/bash AK_CACHE="$AK_WORKDIR/cache" +if [ ! -d $AK_CACHE ] +then + mkdir $AK_CACHE +fi ak-find-latest-mined-sblock > $AK_CACHE/ak-find-latest-mined-sblock.json ak-get-chain-minified > $AK_CACHE/ak-get-chain-minified.json |