mirror of
https://github.com/tailscale/tailscale.git
synced 2025-03-24 10:10:59 +00:00
scripts: use codenames for ubuntu, since that's what our repo uses.
Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
parent
01a359cec9
commit
783f125003
@ -33,7 +33,7 @@ main() {
|
||||
case "$ID" in
|
||||
ubuntu)
|
||||
OS="$ID"
|
||||
VERSION="$VERSION_ID"
|
||||
VERSION="$VERSION_CODENAME"
|
||||
PACKAGETYPE="apt"
|
||||
;;
|
||||
debian)
|
||||
@ -157,12 +157,12 @@ main() {
|
||||
OS_UNSUPPORTED=
|
||||
case "$OS" in
|
||||
ubuntu)
|
||||
if [ "$VERSION" != "16.04" ] && \
|
||||
[ "$VERSION" != "18.04" ] && \
|
||||
[ "$VERSION" != "19.10" ] && \
|
||||
[ "$VERSION" != "20.04" ] && \
|
||||
[ "$VERSION" != "20.10" ] && \
|
||||
[ "$VERSION" != "21.04" ]
|
||||
if [ "$VERSION" != "xenial" ] && \
|
||||
[ "$VERSION" != "bionic" ] && \
|
||||
[ "$VERSION" != "eoan" ] && \
|
||||
[ "$VERSION" != "focal" ] && \
|
||||
[ "$VERSION" != "groovy" ] && \
|
||||
[ "$VERSION" != "hirsute" ]
|
||||
then
|
||||
OS_UNSUPPORTED=1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user