Skip to content

Commit

Permalink
Small modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
mhriemers committed Jan 10, 2023
1 parent 1b89dbb commit 90d7d36
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ fi

WORKDIR="$(mktemp -d || exit 1)"
trap 'rm -rf ${WORKDIR}' EXIT
TAILSCALE_TGZ="${WORKDIR}/tailscale.zip"
TAILSCALE_TGZ="${WORKDIR}/tailscale.tgz"

curl -sSLf --ipv4 -o "$TAILSCALE_TGZ" "$PACKAGE_URL"

TAILSCALE_ROOT="/config/tailscale"
PACKAGE_ROOT="/config"
tar xzf "$TAILSCALE_TGZ" -C "$PACKAGE_ROOT"

tar xzf "$TAILSCALE_TGZ" -d "$(dirname -- "${TAILSCALE_ROOT}")"

"${TAILSCALE_ROOT}/manage.sh" install
"${TAILSCALE_ROOT}/manage.sh" start
TAILSCALE_ROOT="$PACKAGE_ROOT/tailscale"
"$TAILSCALE_ROOT/manage.sh" install
"$TAILSCALE_ROOT/manage.sh" start

0 comments on commit 90d7d36

Please sign in to comment.