aboutsummaryrefslogtreecommitdiff
path: root/modules/mixtapes/lib.sh
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-06-30 22:39:50 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-06-30 22:39:50 +0300
commitde53c55383ed07e0b65f69d33f5284a31d791664 (patch)
treef1e426c88a5d0a48ca463eccd21c1d12524d8f3a /modules/mixtapes/lib.sh
parent9531bcdffff4e44e8aadb000f0b577d59a32ea3f (diff)
downloadarching-kaos-tools-de53c55383ed07e0b65f69d33f5284a31d791664.tar.gz
arching-kaos-tools-de53c55383ed07e0b65f69d33f5284a31d791664.tar.bz2
arching-kaos-tools-de53c55383ed07e0b65f69d33f5284a31d791664.zip
Refactoring
Diffstat (limited to 'modules/mixtapes/lib.sh')
-rwxr-xr-xmodules/mixtapes/lib.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mixtapes/lib.sh b/modules/mixtapes/lib.sh
index 58d7beb..4738a35 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-enter -l 1 | jq > aktempzblock
+ ak zchain --crawl -l 1 | jq > aktempzblock
else
- ak-enter -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'`"