diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-03-11 19:36:28 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-03-11 19:36:28 +0200 |
commit | bf87d94330c6c6153eab9f1a3016efeef5ebc754 (patch) | |
tree | 99ca0366d4d956848d8793130734e5761794dade /bin/ak-data-expand | |
parent | d4e498a18f700e288764cdf8799a2b07a76e1615 (diff) | |
download | arching-kaos-tools-bf87d94330c6c6153eab9f1a3016efeef5ebc754.tar.gz arching-kaos-tools-bf87d94330c6c6153eab9f1a3016efeef5ebc754.tar.bz2 arching-kaos-tools-bf87d94330c6c6153eab9f1a3016efeef5ebc754.zip |
Introduced ./lib for common stuff
ofc, logit was the first lib to add... finally
Diffstat (limited to 'bin/ak-data-expand')
-rwxr-xr-x | bin/ak-data-expand | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ak-data-expand b/bin/ak-data-expand index d13233d..3e194a3 100755 --- a/bin/ak-data-expand +++ b/bin/ak-data-expand @@ -1,12 +1,12 @@ #!/bin/bash PROGRAM="$(basename $0)" +source $AK_LIBDIR/logit + if [ ! -d $AK_WORKDIR/ipfs ] then mkdir $AK_WORKDIR/ipfs fi -logit(){ - ak-logthis "$PROGRAM" "$1" "$2" -} + if [ ! -z "$1" ] && [ ! -z "$2" ] then echo -n "$1" | grep -e 'Qm.\{44\}' >/dev/null |