aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-profile
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-03-29 23:56:26 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-03-29 23:56:26 +0300
commitd85efb21fa554877b21f08a3ffdd51ebb49c55ca (patch)
tree1480b679bc1c29ecb396eb9396979ce8fcee2880 /bin/ak-profile
parent1c25589a8aca3d6dbb84a37240efd4652fbfeab7 (diff)
downloadarching-kaos-tools-d85efb21fa554877b21f08a3ffdd51ebb49c55ca.tar.gz
arching-kaos-tools-d85efb21fa554877b21f08a3ffdd51ebb49c55ca.tar.bz2
arching-kaos-tools-d85efb21fa554877b21f08a3ffdd51ebb49c55ca.zip
Fix json2bash to ak-json2bash
Diffstat (limited to 'bin/ak-profile')
-rwxr-xr-xbin/ak-profile4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ak-profile b/bin/ak-profile
index 93dd3ca..1aa6e9c 100755
--- a/bin/ak-profile
+++ b/bin/ak-profile
@@ -131,8 +131,8 @@ index(){
if [ $i != "0" ]; then
echo -n ",";
fi
- PROP=$(echo $(cat $ZPROFILEDIR/$FILE | json2bash) | cut -d '=' -f 1 | awk '{print $0}')
- VAL=$(echo $(cat $ZPROFILEDIR/$FILE | json2bash) | cut -d '=' -f 2 | awk '{print $1}')
+ PROP=$(echo $(cat $ZPROFILEDIR/$FILE | ak-json2bash) | cut -d '=' -f 1 | awk '{print $0}')
+ VAL=$(echo $(cat $ZPROFILEDIR/$FILE | ak-json2bash) | cut -d '=' -f 2 | awk '{print $1}')
echo -n '"'$PROP'":"'$VAL'"';
let i+=1
fi