13 lines
433 B
Bash
13 lines
433 B
Bash
|
# modified 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/NM.tgz > NM.tar
|
||
|
gunzip -c out/KoboRoot.tgz > KoboPatch.tar
|
||
|
echo "Merging tarballs"
|
||
|
tar -Avf NM.tar KoboPatch.tar
|
||
|
echo "Compressing merged tarball"
|
||
|
gzip NM.tar
|
||
|
echo "Collecting garbage"
|
||
|
rm out/KoboRoot.tgz KoboPatch.tar
|
||
|
mv -v NM.tar.gz out/KoboRoot.tgz
|