Skip to content

Commit

Permalink
changed curl to wget
Browse files Browse the repository at this point in the history
  • Loading branch information
pandalanax committed Oct 18, 2024
1 parent 49dcf43 commit 3cfb40f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ case `uname -m` in
;;
esac

tarball="$(curl 'https://pkgs.tailscale.com/stable/?mode=json' | jq -r .Tarballs.${GOARCH})"
tarball="$(wget -qO- 'https://pkgs.tailscale.com/stable/?mode=json' | jq -r .Tarballs.${GOARCH})"
version="$(echo ${tarball} | cut -d_ -f2)"

curl "https://pkgs.tailscale.com/stable/${tarball}" -o tailscale.tgz
wget "https://pkgs.tailscale.com/stable/${tarball}" -O tailscale.tgz

tar xzf tailscale.tgz

Expand Down
2 changes: 2 additions & 0 deletions root/etc/s6-overlay/s6-rc.d/init-mod-universal-tailscale/run
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
if [ -f /usr/bin/apt ]; then
echo "\
jq \
wget \
iptables" >> /mod-repo-packages-to-install.list

fi
# Alpine
if [ -f /sbin/apk ]; then
echo "\
jq \
wget \
iptables" >> /mod-repo-packages-to-install.list
fi

0 comments on commit 3cfb40f

Please sign in to comment.