From 35969d2bbb7ab3a6f16ba323f25ada70d349f34c Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Sun, 19 Jun 2022 22:41:21 -0500 Subject: [PATCH] Update Alpine Linux versions - Add Alpine Linux 3.16 and remove 3.14. --- extras/ikev2changeaddr.sh | 4 ++-- extras/quickstart.sh | 4 ++-- extras/vpnupgrade.sh | 4 ++-- extras/vpnupgrade_alpine.sh | 4 ++-- vpnsetup.sh | 4 ++-- vpnsetup_alpine.sh | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/extras/ikev2changeaddr.sh b/extras/ikev2changeaddr.sh index a5ba519..9c45609 100755 --- a/extras/ikev2changeaddr.sh +++ b/extras/ikev2changeaddr.sh @@ -79,8 +79,8 @@ EOF esac if [ "$os_type" = "alpine" ]; then os_ver=$(. /etc/os-release && printf '%s' "$VERSION_ID" | cut -d '.' -f 1,2) - if [ "$os_ver" != "3.14" ] && [ "$os_ver" != "3.15" ]; then - exiterr "This script only supports Alpine Linux 3.14/3.15." + if [ "$os_ver" != "3.15" ] && [ "$os_ver" != "3.16" ]; then + exiterr "This script only supports Alpine Linux 3.15/3.16." fi else os_ver=$(sed 's/\..*//' /etc/debian_version | tr -dc 'A-Za-z0-9') diff --git a/extras/quickstart.sh b/extras/quickstart.sh index 09eceba..2deb7ff 100755 --- a/extras/quickstart.sh +++ b/extras/quickstart.sh @@ -115,8 +115,8 @@ EOF esac if [ "$os_type" = "alpine" ]; then os_ver=$(. /etc/os-release && printf '%s' "$VERSION_ID" | cut -d '.' -f 1,2) - if [ "$os_ver" != "3.14" ] && [ "$os_ver" != "3.15" ]; then - exiterr "This script only supports Alpine Linux 3.14/3.15." + if [ "$os_ver" != "3.15" ] && [ "$os_ver" != "3.16" ]; then + exiterr "This script only supports Alpine Linux 3.15/3.16." fi else os_ver=$(sed 's/\..*//' /etc/debian_version | tr -dc 'A-Za-z0-9') diff --git a/extras/vpnupgrade.sh b/extras/vpnupgrade.sh index d2e39c9..0669765 100755 --- a/extras/vpnupgrade.sh +++ b/extras/vpnupgrade.sh @@ -83,8 +83,8 @@ EOF esac if [ "$os_type" = "alpine" ]; then os_ver=$(. /etc/os-release && printf '%s' "$VERSION_ID" | cut -d '.' -f 1,2) - if [ "$os_ver" != "3.14" ] && [ "$os_ver" != "3.15" ]; then - exiterr "This script only supports Alpine Linux 3.14/3.15." + if [ "$os_ver" != "3.15" ] && [ "$os_ver" != "3.16" ]; then + exiterr "This script only supports Alpine Linux 3.15/3.16." fi else os_ver=$(sed 's/\..*//' /etc/debian_version | tr -dc 'A-Za-z0-9') diff --git a/extras/vpnupgrade_alpine.sh b/extras/vpnupgrade_alpine.sh index d7adb49..e260648 100755 --- a/extras/vpnupgrade_alpine.sh +++ b/extras/vpnupgrade_alpine.sh @@ -51,8 +51,8 @@ check_os() { ;; esac os_ver=$(. /etc/os-release && printf '%s' "$VERSION_ID" | cut -d '.' -f 1,2) - if [ "$os_ver" != "3.14" ] && [ "$os_ver" != "3.15" ]; then - exiterr "This script only supports Alpine Linux 3.14/3.15." + if [ "$os_ver" != "3.15" ] && [ "$os_ver" != "3.16" ]; then + exiterr "This script only supports Alpine Linux 3.15/3.16." fi } diff --git a/vpnsetup.sh b/vpnsetup.sh index 09eceba..2deb7ff 100755 --- a/vpnsetup.sh +++ b/vpnsetup.sh @@ -115,8 +115,8 @@ EOF esac if [ "$os_type" = "alpine" ]; then os_ver=$(. /etc/os-release && printf '%s' "$VERSION_ID" | cut -d '.' -f 1,2) - if [ "$os_ver" != "3.14" ] && [ "$os_ver" != "3.15" ]; then - exiterr "This script only supports Alpine Linux 3.14/3.15." + if [ "$os_ver" != "3.15" ] && [ "$os_ver" != "3.16" ]; then + exiterr "This script only supports Alpine Linux 3.15/3.16." fi else os_ver=$(sed 's/\..*//' /etc/debian_version | tr -dc 'A-Za-z0-9') diff --git a/vpnsetup_alpine.sh b/vpnsetup_alpine.sh index 3e1717e..53e1826 100755 --- a/vpnsetup_alpine.sh +++ b/vpnsetup_alpine.sh @@ -72,8 +72,8 @@ check_os() { ;; esac os_ver=$(. /etc/os-release && printf '%s' "$VERSION_ID" | cut -d '.' -f 1,2) - if [ "$os_ver" != "3.14" ] && [ "$os_ver" != "3.15" ]; then - exiterr "This script only supports Alpine Linux 3.14/3.15." + if [ "$os_ver" != "3.15" ] && [ "$os_ver" != "3.16" ]; then + exiterr "This script only supports Alpine Linux 3.15/3.16." fi }