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
parent
f6353a8cd2
commit
1c339bf507
|
@ -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
|
# 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
|
gunzip -c out/KoboRoot.tgz > KoboPatch.tar
|
||||||
|
echo "Merging tarballs"
|
||||||
tar -Avf KFMon.tar KoboPatch.tar
|
tar -Avf KFMon.tar KoboPatch.tar
|
||||||
|
echo "Compressing merged tarball"
|
||||||
gzip KFMon.tar
|
gzip KFMon.tar
|
||||||
|
echo "Collecting garbage"
|
||||||
rm out/KoboRoot.tgz KoboPatch.tar
|
rm out/KoboRoot.tgz KoboPatch.tar
|
||||||
mv -v KFMon.tar.gz KoboRoot.tgz
|
mv -v KFMon.tar.gz out/KoboRoot.tgz
|
||||||
|
|
Loading…
Reference in New Issue