Updates to merge-kfmon.sh:

* Now expects KFMon.tgz in bin/ (local setup is symlinked to its location in a kobo packages folder)
* Add progress messages
* Moves the merged tarball to out/
master
Jay Logan 2020-08-17 02:32:36 -05:00
parent f6353a8cd2
commit 1c339bf507
1 changed files with 6 additions and 2 deletions

View File

@ -1,8 +1,12 @@
# taken from NiLuJe's autopatch.sh: http://trac.ak-team.com/trac/browser/niluje/Configs/trunk/Kindle/Kobo_Hacks/Patches/autopatch.sh
gunzip -c ../kfmon/Release/KoboRoot.tgz > KFMon.tar
echo "Uncompressing tarballs"
gunzip -c bin/KFmon.tgz > KFMon.tar
gunzip -c out/KoboRoot.tgz > KoboPatch.tar
echo "Merging tarballs"
tar -Avf KFMon.tar KoboPatch.tar
echo "Compressing merged tarball"
gzip KFMon.tar
echo "Collecting garbage"
rm out/KoboRoot.tgz KoboPatch.tar
mv -v KFMon.tar.gz KoboRoot.tgz
mv -v KFMon.tar.gz out/KoboRoot.tgz