diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-04-03 08:22:39 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-04-03 08:22:39 +0300 |
commit | 2f11539eef545fc0a9761693ae55e837b460beac (patch) | |
tree | 566e38f9aee9f0ffc3bc68877ed20767182492c7 /bin/ak-zblock-cache | |
parent | 05ea0e3dca7209d1490658014c5e598e4d4dfdc4 (diff) | |
download | arching-kaos-tools-2f11539eef545fc0a9761693ae55e837b460beac.tar.gz arching-kaos-tools-2f11539eef545fc0a9761693ae55e837b460beac.tar.bz2 arching-kaos-tools-2f11539eef545fc0a9761693ae55e837b460beac.zip |
Added ak-zblock-show with appropriate route in API with caching feature
Diffstat (limited to 'bin/ak-zblock-cache')
-rwxr-xr-x | bin/ak-zblock-cache | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/ak-zblock-cache b/bin/ak-zblock-cache new file mode 100755 index 0000000..6551796 --- /dev/null +++ b/bin/ak-zblock-cache @@ -0,0 +1,11 @@ +#!/bin/bash + +if [ ! -z "$1" ] +then + ak-zblock-show "$1" > $AK_ZBLOCKDIR/$1 + exit 0 +else + echo not ok + exit 1 +fi + |