Просмотр исходного кода

scripts: fix up installer script comments.

Signed-off-by: David Anderson <[email protected]>
David Anderson 4 лет назад
Родитель
Сommit
4f92f405ee
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      scripts/installer.sh

+ 3 - 1
scripts/installer.sh

@@ -305,10 +305,12 @@ main() {
 	fi
 	fi
 
 
 
 
-	# Step 3: run the installation.
+	# Step 4: run the installation.
 	echo "Installing Tailscale for $OS $VERSION, using method $PACKAGETYPE"
 	echo "Installing Tailscale for $OS $VERSION, using method $PACKAGETYPE"
 	case "$PACKAGETYPE" in
 	case "$PACKAGETYPE" in
 		apt)
 		apt)
+			# Ideally we want to use curl, but on some installs we
+			# only have wget. Detect and use what's available.
 			CURL=
 			CURL=
 			if type curl >/dev/null; then
 			if type curl >/dev/null; then
 				CURL="curl -fsSL"
 				CURL="curl -fsSL"