mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
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:
parent
edec764a27
commit
07a58266ab
1 changed files with 3 additions and 3 deletions
6
website/assets/resources/install-fleetctl.sh
vendored
6
website/assets/resources/install-fleetctl.sh
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue