Similar to Arch support, use the latest version info from the official
`apk` repo and don't offer explicit track or version switching.
Add detection for Alpine Linux in version/distro along the way.
Updates #6995
Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
fs.BoolVar(&updateArgs.yes,"yes",false,"update without interactive prompts")
fs.BoolVar(&updateArgs.yes,"yes",false,"update without interactive prompts")
fs.BoolVar(&updateArgs.dryRun,"dry-run",false,"print what update would do without doing it, or prompts")
fs.BoolVar(&updateArgs.dryRun,"dry-run",false,"print what update would do without doing it, or prompts")
fs.BoolVar(&updateArgs.appStore,"app-store",false,"HIDDEN: check the App Store for updates, even if this is not an App Store install (for testing only)")
fs.BoolVar(&updateArgs.appStore,"app-store",false,"HIDDEN: check the App Store for updates, even if this is not an App Store install (for testing only)")
// These flags are not supported on Arch-based installs. Arch only
// These flags are not supported on Arch or Alpine-based installs.
// offers one variant of tailscale and it's always the latest version.
// Package repos on these distros only offer one variant of tailscale