Skip to content

Commit

Permalink
fixup compression flags
Browse files Browse the repository at this point in the history
  • Loading branch information
sspans committed Sep 19, 2020
1 parent a1cac1e commit a4c9749
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions stage3_homebridge/00-node-install/01-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ set -x
case "$(dpkg-architecture -q DEB_TARGET_ARCH)" in
arm64)
curl -Lsf "https://nodejs.org/dist/$LTS/node-$LTS-linux-arm64.tar.xz" | \
tar xf - -C /usr/local --strip-components=1 --no-same-owner
tar xJf - -C /usr/local --strip-components=1 --no-same-owner
;;
armhf)
curl -Lsf "https://unofficial-builds.nodejs.org/download/release/$LTS/node-$LTS-linux-armv6l.tar.gz" | \
tar xf - -C /usr/local --strip-components=1 --no-same-owner
tar xzf - -C /usr/local --strip-components=1 --no-same-owner
;;
esac
Expand Down
4 changes: 2 additions & 2 deletions stage3_homebridge/01-homebridge/files/hb-config
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,11 @@ do_nodejs_update() {
case "$(dpkg-architecture -q DEB_TARGET_ARCH)" in
arm64)
curl -Lsf "https://nodejs.org/dist/$LTS/node-$LTS-linux-arm64.tar.xz" | \
sudo tar xf - -C /usr/local --strip-components=1 --no-same-owner
sudo tar xJf - -C /usr/local --strip-components=1 --no-same-owner
;;
armhf)
curl -Lsf "https://unofficial-builds.nodejs.org/download/release/$LTS/node-$LTS-linux-armv6l.tar.gz" | \
sudo tar xf - -C /usr/local --strip-components=1 --no-same-owner
sudo tar xzf - -C /usr/local --strip-components=1 --no-same-owner
;;
esac

Expand Down
4 changes: 2 additions & 2 deletions stage3_homebridge/01-homebridge/files/nodejs-update
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ if [ $LTS != $CURRENT ]; then
case "$(dpkg-architecture -q DEB_TARGET_ARCH)" in
arm64)
curl -Lsf "https://nodejs.org/dist/$LTS/node-$LTS-linux-arm64.tar.xz" | \
sudo tar xf - -C ${PREFIX} --strip-components=1 --no-same-owner
sudo tar xJf - -C ${PREFIX} --strip-components=1 --no-same-owner
;;
armhf)
curl -Lsf "https://unofficial-builds.nodejs.org/download/release/$LTS/node-$LTS-linux-armv6l.tar.gz" | \
sudo tar xf - -C ${PREFIX} --strip-components=1 --no-same-owner
sudo tar xzf - -C ${PREFIX} --strip-components=1 --no-same-owner
;;
esac

Expand Down
4 changes: 2 additions & 2 deletions stage3_homebridge/05-ffmpeg/01-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ set -x
case "$(dpkg-architecture -q DEB_TARGET_ARCH)" in
arm64)
curl -Lsf "https://github.com/homebridge/ffmpeg-for-homebridge/releases/latest/download/ffmpeg-debian-aarch64.tar.gz" | \
tar xf - -C / --no-same-owner
tar xzf - -C / --no-same-owner
;;
armhf)
curl -Lsf "https://github.com/homebridge/ffmpeg-for-homebridge/releases/latest/download/ffmpeg-raspbian-armv6l.tar.gz" | \
tar xf - -C / --no-same-owner
tar xzf - -C / --no-same-owner
;;
esac
Expand Down

0 comments on commit a4c9749

Please sign in to comment.