kobopatch-conf/merge-kfmon.sh

13 lines
445 B
Bash
Raw Normal View History

# taken from NiLuJe's autopatch.sh: http://trac.ak-team.com/trac/browser/niluje/Configs/trunk/Kindle/Kobo_Hacks/Patches/autopatch.sh
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 out/KoboRoot.tgz