summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Anderson <danderson@tailscale.com>2021-05-14 14:13:31 -0700
committerDavid Anderson <danderson@tailscale.com>2021-05-14 14:13:31 -0700
commit4f92f405eeaf2c6d9dffab74a0e38095213b69b7 (patch)
tree08d0616b9e21be29c73c70d977267d3a9046dff4
parent0e9ea9f7794748018ef724df2f26645e9c619b4f (diff)
downloadtailscale-4f92f405eeaf2c6d9dffab74a0e38095213b69b7.tar.xz
tailscale-4f92f405eeaf2c6d9dffab74a0e38095213b69b7.zip
scripts: fix up installer script comments.
Signed-off-by: David Anderson <danderson@tailscale.com>
-rwxr-xr-xscripts/installer.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/installer.sh b/scripts/installer.sh
index 0249d0456..dbeb4aa92 100755
--- a/scripts/installer.sh
+++ b/scripts/installer.sh
@@ -305,10 +305,12 @@ main() {
fi
- # Step 3: run the installation.
+ # Step 4: run the installation.
echo "Installing Tailscale for $OS $VERSION, using method $PACKAGETYPE"
case "$PACKAGETYPE" in
apt)
+ # Ideally we want to use curl, but on some installs we
+ # only have wget. Detect and use what's available.
CURL=
if type curl >/dev/null; then
CURL="curl -fsSL"