mirror of
https://github.com/tailscale-dev/deck-tailscale.git
synced 2025-10-22 15:38:15 +00:00
Tweak visual output
This commit is contained in:
12
tailscale.sh
12
tailscale.sh
@@ -21,12 +21,10 @@ version="$(echo ${tarball} | cut -d_ -f2)"
|
|||||||
|
|
||||||
echo "got ${version}."
|
echo "got ${version}."
|
||||||
|
|
||||||
echo -n "Downloading..."
|
echo "Downloading:"
|
||||||
|
|
||||||
# download the Tailscale package itself
|
# download the Tailscale package itself
|
||||||
wget -O tailscale.tgz "https://pkgs.tailscale.com/stable/${tarball}"
|
wget -q --show-progress -O tailscale.tgz "https://pkgs.tailscale.com/stable/${tarball}"
|
||||||
|
|
||||||
echo "done."
|
|
||||||
|
|
||||||
echo -n "Removing Legacy Installations..."
|
echo -n "Removing Legacy Installations..."
|
||||||
|
|
||||||
@@ -114,15 +112,15 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# This needs to be the last thing we do in case the user's running this over Tailscale SSH.
|
# This needs to be the last thing we do in case the user's running this over Tailscale SSH.
|
||||||
systemctl restart tailscaled &>/dev/null || echo "ERROR: Could not start tailscaled service"
|
systemctl restart tailscaled &>/dev/null || echo "ERROR: Could not start tailscaled service"
|
||||||
|
|
||||||
echo "done."
|
echo "done."
|
||||||
|
|
||||||
if ! command -v tailscale &> /dev/null; then
|
if ! command -v tailscale &> /dev/null; then
|
||||||
echo
|
echo
|
||||||
echo "Tailscale is installed and running but the binaries are not in your path yet."
|
echo "Tailscale is installed and running but the binaries are not in your path yet."
|
||||||
echo "Restart your session or run the following command to add them:"
|
echo "Restart your session or run the following command to add them:"
|
||||||
echo
|
echo
|
||||||
echo "source /etc/profile.d/tailscale.sh"
|
echo "source /etc/profile.d/tailscale.sh"
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user