fleetdm.com/start: suggested copy change for fleetctl install (#22251)

- Suggesting capital "Linux" and "macOS" b/c it feels more official.

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
This commit is contained in:
Noah Talerman 2024-09-19 19:11:00 -04:00 committed by GitHub
parent edec764a27
commit 07a58266ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,8 +28,8 @@ version_gt() {
OS="$(uname -s)"
case "${OS}" in
Linux*) OS='linux';;
Darwin*) OS='macos';;
Linux*) OS='linux' OS_DISPLAY_NAME='Linux';;
Darwin*) OS='macos' OS_DISPLAY_NAME='macOS';;
*) echo "Unsupported operating system: ${OS}"; exit 1;;
esac
@ -41,7 +41,7 @@ mkdir -p "${FLEETCTL_INSTALL_DIR}"
DOWNLOAD_URL="https://github.com/fleetdm/fleet/releases/download/fleet-v${latest_strippedVersion}/fleetctl_v${latest_strippedVersion}_${OS}.tar.gz"
# Download the latest version of fleetctl and extract it.
echo "Downloading fleetctl ${latest_strippedVersion} for ${OS}..."
echo "Downloading fleetctl ${latest_strippedVersion} for ${OS_DISPLAY_NAME}..."
curl -sSL "$DOWNLOAD_URL" | tar -xz -C "$FLEETCTL_INSTALL_DIR" --strip-components=1 fleetctl_v"${latest_strippedVersion}"_${OS}/
echo "fleetctl installed successfully in ${FLEETCTL_INSTALL_DIR}"
echo