Implement `tailscale update` on FreeBSD. This is much simpler than other
platforms because `pkg rquery` lets us get the version in their repos
without any extra parsing.
Updates #6995
Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
@ -45,10 +45,13 @@ var updateCmd = &ffcli.Command{
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.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 or Alpine-based installs.
// Package repos on these distros only offer one variant of tailscale