View Single Post
Old 05-08-2020, 05:50 PM   #796
arooni
Addict
arooni began at the beginning.
 
Posts: 315
Karma: 26
Join Date: Jul 2012
Device: Kindle Paperwhite 4 (2018)
was trying to install your awk tool since i'm packing my kindle full of extensions.

when i load kual i don't see the option to install it. finally i ssh'd into the bin directory and just ran your install script but it didnt seem to populate a binary version of awk

Code:
No error in /tmp/kual.log but in in /tmp/kual.cache i do see mention of it:
ecrs
1:ff00ff00ff000b
Sort menu ABC
/var/tmp;[ -r '/mnt/us/extensions/KUAL.cfg' ] || echo "#
 /mnt/us/extensions/KUAL.cfg - created on `date`" >'/mnt
/us/extensions/KUAL.cfg';s=$(awk 'BEGIN{nf=1} /^\s*KUAL_
sort_mode=/{sub(/=.*/,"=\"ABC\"");nf=0} {print} END{if(n
f) print "KUAL_sort_mode=\"ABC\""}' '/mnt/us/extensions/
KUAL.cfg') && [ 0 != ${#s} ] && echo "$s" >'/mnt/us/exte
nsions/KUAL.cfg'
3
1:ff00ff00ff020b
× Quit
/var/tmp;:
4
cd
1:ff00ff00ff030b
* Install gawk binary *
/mnt/us/extensions/gawk;./bin/gawk-install.sh
4
s


/mnt/us/extensions/gawk
[root@kindle gawk]# ls -l
total 32
drwxrwxrwx    2 root     root          8192 May  8 16:26 bin
-rwxrwxrwx    1 root     root           253 May 29  2018 config.xml
drwxrwxrwx    2 root     root          8192 May  8 16:26 data
-rwxrwxrwx    1 root     root           459 May 29  2018 menu.json
[root@kindle gawk]#


### same for battery status too btw
[root@kindle BatteryStatus]# pwd
/mnt/us/extensions/BatteryStatus
[root@kindle BatteryStatus]# ls -l
total 24
drwxrwxrwx    2 root     root          8192 May  8 16:32 bin
-rwxrwxrwx    1 root     root           272 May 29  2018 config.xml
-rwxrwxrwx    1 root     root           751 May 29  2018 menu.json
[root@kindle BatteryStatus]#
neither seems to be appearing. is there a way to get KUAL to re-search the extensions directory somehow?

Last edited by arooni; 05-08-2020 at 05:53 PM.
arooni is offline   Reply With Quote