chill wrote: > Thanks for that - some more syntax for me to learn from! Feel free to > work your own magic on the scripts - you clearly know what you're doing > far more than I do! > > Yeah, the BusyBox version of unzip doesn't like tgz files, and the > BusyBox version of tar doesn't like zip files :( > > > Code: -------------------- > > tc@pCP:~$ unzip -o ngrok-stable-linux-arm64.tgz > Archive: ngrok-stable-linux-arm64.tgz > unzip: short read > > tc@pCP:~$ tar -x -f ngrok-stable-linux-arm.zip > tar: invalid tar magic > -------------------- > > > > So unless someone can suggest a built-in utility that can cope with > both I think we're stuck with having to use both of those utilities. > We could probably get a more complete unzip utility from the > repository, but again that's an extra complication.
The illusion in complete - I'm quite the noob with shell scripting and was quite impressed with your code :D You are actually right about the tgz. I just took a look at the source of ngrok.com and the taregt for Linux ARM 64-bit is indeed a tgz file. Well spotted ! ------------------------------------------------------------------------ philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=111016 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
