From 6fa25a1258284f540c0060dad7c9fb73e7100e3e Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 29 Jul 2016 18:56:07 +0200 Subject: Don't compress linux bundle, compress installer (with xz) This halves the installer size from about 60MB to 29MB. --- tools/linux_packaging/stage2.run.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/linux_packaging/stage2.run.in') 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 "" -- cgit v1.2.3