clientupdate: disable on Unraid (#10048)
* clientupdate: disable on Unraid Updates dkaser/unraid-tailscale#94 Signed-off-by: Derek Kaser <derek.kaser@gmail.com> * Update clientupdate/clientupdate.go Signed-off-by: Andrew Lytvynov <andrew@awly.dev> --------- Signed-off-by: Derek Kaser <derek.kaser@gmail.com> Signed-off-by: Andrew Lytvynov <andrew@awly.dev> Co-authored-by: Andrew Lytvynov <andrew@awly.dev>
This commit is contained in:
parent
c2b87fcb46
commit
5289cfce33
|
@ -175,6 +175,11 @@ func (up *Updater) getUpdateFunction() (fn updateFunction, canAutoUpdate bool) {
|
||||||
return up.updateLinuxBinary, true
|
return up.updateLinuxBinary, true
|
||||||
case distro.Alpine:
|
case distro.Alpine:
|
||||||
return up.updateAlpineLike, true
|
return up.updateAlpineLike, true
|
||||||
|
case distro.Unraid:
|
||||||
|
// Unraid runs from memory, updates must be installed via the Unraid
|
||||||
|
// plugin manager to be persistent.
|
||||||
|
// TODO(awly): implement Unraid updates using the 'plugin' CLI.
|
||||||
|
return nil, false
|
||||||
}
|
}
|
||||||
switch {
|
switch {
|
||||||
case haveExecutable("pacman"):
|
case haveExecutable("pacman"):
|
||||||
|
|
Loading…
Reference in New Issue