Skip to content

Commit

Permalink
Probaly fixed bsdtar problem
Browse files Browse the repository at this point in the history
  • Loading branch information
gustawdaniel committed Sep 10, 2021
1 parent 54a8520 commit defa2ad
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea
2 changes: 1 addition & 1 deletion scripts/install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if [ -f $APP_SOURCE_DIR/launchpad.conf ]; then
fi
fi

apt-get install -y --no-install-recommends curl bzip2 bsdtar build-essential python git wget gnupg2 dirmngr
apt-get install -y --no-install-recommends curl bzip2 libarchive-tools build-essential python git wget gnupg2 dirmngr


# install gosu
Expand Down
2 changes: 1 addition & 1 deletion scripts/install-meteor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ else

# 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
sed -i.bak "s/tar -xzf.*/tar -xf \"\$TARBALL_FILE\" -C \"\$INSTALL_TMPDIR\"/g" /tmp/install_meteor.sh

# install
printf "\n[-] Installing Meteor $METEOR_VERSION...\n\n"
Expand Down
2 changes: 1 addition & 1 deletion scripts/post-build-cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ rm -rf /opt/nodejs/bin/npm
rm -rf /opt/nodejs/lib/node_modules/npm/

# remove os dependencies
apt-get purge -y --auto-remove apt-transport-https build-essential bsdtar bzip2 ca-certificates curl git python
apt-get purge -y --auto-remove apt-transport-https build-essential libarchive-tools bzip2 ca-certificates curl git python
apt-get -y autoremove
apt-get -y clean
apt-get -y autoclean
Expand Down

0 comments on commit defa2ad

Please sign in to comment.