diff --git a/scripts/install-deps.sh b/scripts/install-deps.sh index a8929d7..93d1bbc 100755 --- a/scripts/install-deps.sh +++ b/scripts/install-deps.sh @@ -6,7 +6,7 @@ printf "\n[-] Installing base OS dependencies...\n\n" apt-get update -y -apt-get install -y --no-install-recommends curl ca-certificates bzip2 build-essential numactl python git wget +apt-get install -y --no-install-recommends curl ca-certificates bzip2 bsdtar build-essential numactl python git wget dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')" diff --git a/scripts/install-meteor.sh b/scripts/install-meteor.sh index 521d98d..0928b73 100755 --- a/scripts/install-meteor.sh +++ b/scripts/install-meteor.sh @@ -17,6 +17,10 @@ else # set the release version in the install script sed -i.bak "s/RELEASE=.*/RELEASE=\"$METEOR_VERSION\"/g" /tmp/install_meteor.sh + # replace tar command with bsdtar in the install script (bsdtar -xf "$TARBALL_FILE" -C "$INSTALL_TMPDIR") + # https://github.com/jshimko/meteor-launchpad/issues/39 + sed -i.bak "s/tar -xzf.*/bsdtar -xf \"\$TARBALL_FILE\" -C \"\$INSTALL_TMPDIR\"/g" /tmp/install_meteor.sh + # install printf "\n[-] Installing Meteor $METEOR_VERSION...\n\n" sh /tmp/install_meteor.sh