From 6358b59dc6416da13c3cc9ae5e3a32ec41f6b87a Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sat, 20 Jul 2024 17:22:41 +0300 Subject: Minimized 'ak' usage in the scripts in favor of functions --- modules/mixtapes/lib.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/mixtapes/lib.sh') diff --git a/modules/mixtapes/lib.sh b/modules/mixtapes/lib.sh index 4738a35..04551e0 100755 --- a/modules/mixtapes/lib.sh +++ b/modules/mixtapes/lib.sh @@ -60,9 +60,9 @@ _ak_modules_mixtapes_get_local_latest(){ cd $tempdir if [ -z "$1" ] then - ak zchain --crawl -l 1 | jq > aktempzblock + _ak_zchain_crawl -l 1 | jq > aktempzblock else - ak zchain --crawl -l 1 $1 | jq > aktempzblock + _ak_zchain_crawl -l 1 $1 | jq > aktempzblock fi curzblock="`cat aktempzblock | jq -r '.[].zblock'`" curaction="`cat aktempzblock | jq -r '.[].action'`" -- cgit v1.2.3