summaryrefslogtreecommitdiff
path: root/tools/linux_packaging/stage2.run.in
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-07-29 18:56:07 +0200
committerRobin Gareus <robin@gareus.org>2016-07-29 18:56:07 +0200
commit6fa25a1258284f540c0060dad7c9fb73e7100e3e (patch)
tree90197fe4fd4044444167d04495cdc308eb3b87d0 /tools/linux_packaging/stage2.run.in
parentd0126be806c862b0a622075f2adc035b870ac662 (diff)
Don't compress linux bundle, compress installer (with xz)
This halves the installer size from about 60MB to 29MB.
Diffstat (limited to 'tools/linux_packaging/stage2.run.in')
-rwxr-xr-xtools/linux_packaging/stage2.run.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/linux_packaging/stage2.run.in b/tools/linux_packaging/stage2.run.in
index 453c35d9b5..c59bf95c86 100755
--- a/tools/linux_packaging/stage2.run.in
+++ b/tools/linux_packaging/stage2.run.in
@@ -336,7 +336,7 @@ echo "Bundle is on ${FILESYSTEM_TYPE} filesystem"
# untar the correct bundle for us to install
echo "Unpacking bundle for $ARCH"
-if [ ! -e ${PGM_NAME}_${ARCH}-*.tar.bz2 ]; then
+if [ ! -e ${PGM_NAME}_${ARCH}-*.tar ]; then
echo ""
echo "!!! ERROR !!! Can't locate ${ARCH} bundle file."
echo ""
@@ -344,7 +344,7 @@ if [ ! -e ${PGM_NAME}_${ARCH}-*.tar.bz2 ]; then
exit 1
fi
-if ! tar -xjf ${PGM_NAME}_${ARCH}-*.tar.bz2; then
+if ! tar -xf ${PGM_NAME}_${ARCH}-*.tar; then
echo ""
echo "!!! ERROR !!! Can't unpack ${ARCH} bundle file."
echo ""