diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-03-29 23:56:26 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-03-29 23:56:26 +0300 |
commit | d85efb21fa554877b21f08a3ffdd51ebb49c55ca (patch) | |
tree | 1480b679bc1c29ecb396eb9396979ce8fcee2880 /bin/ak-profile | |
parent | 1c25589a8aca3d6dbb84a37240efd4652fbfeab7 (diff) | |
download | arching-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-x | bin/ak-profile | 4 |
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 |