From ab405c586de217e29c76930be217c6ac61242290 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 13 Jun 2018 12:57:35 -0600 Subject: [PATCH] stop tar file output --- usr/share/install_helper.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/usr/share/install_helper.sh b/usr/share/install_helper.sh index 27420e6..11d53ef 100644 --- a/usr/share/install_helper.sh +++ b/usr/share/install_helper.sh @@ -122,15 +122,14 @@ if [ -n "$my_unzip" ]; then echo " - installing telebit zip to '$TELEBIT_PATH'..." http_get https://git.coolaj86.com/coolaj86/$my_repo/archive/$TELEBIT_VERSION.zip $my_tmp/$my_app-$TELEBIT_VERSION.zip # -o means overwrite, and there is no option to strip - $my_unzip -o $my_tmp/$my_app-$TELEBIT_VERSION.zip -d $TELEBIT_PATH/ > /dev/null 2>&1 + $my_unzip -o $my_tmp/$my_app-$TELEBIT_VERSION.zip -d $TELEBIT_PATH/ >/dev/null $rsync_cmd $TELEBIT_PATH/$my_repo/* $TELEBIT_PATH/ > /dev/null rm -rf $TELEBIT_PATH/$my_repo elif [ -n "$my_tar" ]; then rm -f $my_tmp/$my_app-$TELEBIT_VERSION.tar.gz echo " - installing telebit tar.gz to '$TELEBIT_PATH'..." http_get https://git.coolaj86.com/coolaj86/$my_repo/archive/$TELEBIT_VERSION.tar.gz $my_tmp/$my_app-$TELEBIT_VERSION.tar.gz - ls -lah $my_tmp/$my_app-$TELEBIT_VERSION.tar.gz - $my_tar -xzf $my_tmp/$my_app-$TELEBIT_VERSION.tar.gz --strip 1 -C $TELEBIT_PATH/ + $my_tar -xzf $my_tmp/$my_app-$TELEBIT_VERSION.tar.gz --strip 1 -C $TELEBIT_PATH/ >/dev/null else echo "Neither tar nor unzip found. Abort." exit 13