mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-01 15:59:31 +08:00
tailscale: add version tests
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
This commit is contained in:
parent
c8573bb2ba
commit
34ec9028e8
8
net/tailscale/test.sh
Normal file
8
net/tailscale/test.sh
Normal file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
if command -v tailscale; then
|
||||
tailscale version | grep "$2" || exit 1
|
||||
fi
|
||||
|
||||
if command -v tailscaled; then
|
||||
tailscaled -version | grep "$2"
|
||||
fi
|
Loading…
Reference in New Issue
Block a user