mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-18 23:27:01 +02:00
tailscale: disable self-updater
this doesn't do anything on void atm but better to be safe than sorry. hopefully this gets made disableable in the future.
This commit is contained in:
parent
e87825441e
commit
60610c8b10
2 changed files with 12 additions and 1 deletions
11
srcpkgs/tailscale/patches/no-self-update.patch
Normal file
11
srcpkgs/tailscale/patches/no-self-update.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/cmd/tailscale/cli/cli.go
|
||||
+++ b/cmd/tailscale/cli/cli.go
|
||||
@@ -149,8 +149,6 @@
|
||||
switch {
|
||||
case slices.Contains(args, "debug"):
|
||||
rootCmd.Subcommands = append(rootCmd.Subcommands, debugCmd)
|
||||
- case slices.Contains(args, "update"):
|
||||
- rootCmd.Subcommands = append(rootCmd.Subcommands, updateCmd)
|
||||
}
|
||||
if runtime.GOOS == "linux" && distro.Get() == distro.Synology {
|
||||
rootCmd.Subcommands = append(rootCmd.Subcommands, configureHostCmd)
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'tailscale'
|
||||
pkgname=tailscale
|
||||
version=1.46.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=go
|
||||
go_import_path="tailscale.com"
|
||||
go_package="tailscale.com/cmd/tailscale tailscale.com/cmd/tailscaled"
|
||||
|
|
Loading…
Add table
Reference in a new issue