From 1a96713b1a5fc0832f83781b5bd96fe870fb5a23 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sun, 20 Aug 2023 21:03:03 +0300 Subject: Cache folder initial appearence --- api/make_cache.sh | 5 +++++ 1 file changed, 5 insertions(+) mode change 100644 => 100755 api/make_cache.sh (limited to 'api') diff --git a/api/make_cache.sh b/api/make_cache.sh old mode 100644 new mode 100755 index b9e7cb9..03dab99 --- 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 -- cgit v1.2.3