From 1c339bf50718e62aabc496f7ea9d8a025ab7bd1b Mon Sep 17 00:00:00 2001 From: Jay Logan Date: Mon, 17 Aug 2020 02:32:36 -0500 Subject: [PATCH] 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/ --- merge-kfmon.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/merge-kfmon.sh b/merge-kfmon.sh index 330fb21..d3079e9 100755 --- a/merge-kfmon.sh +++ b/merge-kfmon.sh @@ -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