Skip to content

Commit

Permalink
replace tar with bsdtar in Meteor installer (fix #39)
Browse files Browse the repository at this point in the history
  • Loading branch information
jshimko committed May 8, 2017
1 parent 25b9174 commit 1472b09
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 }')"

Expand Down
4 changes: 4 additions & 0 deletions scripts/install-meteor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1472b09

Please sign in to comment.