diff --git a/.github/workflows/test_set_2.yml b/.github/workflows/test_set_2.yml index 6756630..a9cfe92 100644 --- a/.github/workflows/test_set_2.yml +++ b/.github/workflows/test_set_2.yml @@ -17,7 +17,7 @@ jobs: if: github.repository_owner == 'hwdsl2' strategy: matrix: - os_version: ["ubuntu:22.04", "ubuntu:20.04", "ubuntu:18.04", "debian:12", "debian:11", "debian:10", "alpine:3.17", "alpine:3.18"] + os_version: ["ubuntu:22.04", "ubuntu:20.04", "ubuntu:18.04", "debian:12", "debian:11", "debian:10", "alpine:3.17", "alpine:3.18", "alpine:3.19"] fail-fast: false container: image: ${{ matrix.os_version }} diff --git a/extras/ikev2setup.sh b/extras/ikev2setup.sh index 323e520..12b9614 100755 --- a/extras/ikev2setup.sh +++ b/extras/ikev2setup.sh @@ -96,8 +96,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.17" ] && [ "$os_ver" != "3.18" ]; then - exiterr "This script only supports Alpine Linux 3.17/3.18." + if [ "$os_ver" != "3.17" ] && [ "$os_ver" != "3.18" ] && [ "$os_ver" != "3.19" ]; then + exiterr "This script only supports Alpine Linux 3.17/3.18/3.19." 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 daab388..86c8518 100755 --- a/extras/vpnupgrade.sh +++ b/extras/vpnupgrade.sh @@ -90,8 +90,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.17" ] && [ "$os_ver" != "3.18" ]; then - exiterr "This script only supports Alpine Linux 3.17/3.18." + if [ "$os_ver" != "3.17" ] && [ "$os_ver" != "3.18" ] && [ "$os_ver" != "3.19" ]; then + exiterr "This script only supports Alpine Linux 3.17/3.18/3.19." 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 c3faf32..b5ac12d 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.17" ] && [ "$os_ver" != "3.18" ]; then - exiterr "This script only supports Alpine Linux 3.17/3.18." + if [ "$os_ver" != "3.17" ] && [ "$os_ver" != "3.18" ] && [ "$os_ver" != "3.19" ]; then + exiterr "This script only supports Alpine Linux 3.17/3.18/3.19." fi } diff --git a/vpnsetup.sh b/vpnsetup.sh index cfe33b6..085d515 100755 --- a/vpnsetup.sh +++ b/vpnsetup.sh @@ -122,8 +122,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.17" ] && [ "$os_ver" != "3.18" ]; then - exiterr "This script only supports Alpine Linux 3.17/3.18." + if [ "$os_ver" != "3.17" ] && [ "$os_ver" != "3.18" ] && [ "$os_ver" != "3.19" ]; then + exiterr "This script only supports Alpine Linux 3.17/3.18/3.19." 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 f029612..0331921 100755 --- a/vpnsetup_alpine.sh +++ b/vpnsetup_alpine.sh @@ -70,8 +70,8 @@ check_os() { ;; esac os_ver=$(. /etc/os-release && printf '%s' "$VERSION_ID" | cut -d '.' -f 1,2) - if [ "$os_ver" != "3.17" ] && [ "$os_ver" != "3.18" ]; then - exiterr "This script only supports Alpine Linux 3.17/3.18." + if [ "$os_ver" != "3.17" ] && [ "$os_ver" != "3.18" ] && [ "$os_ver" != "3.19" ]; then + exiterr "This script only supports Alpine Linux 3.17/3.18/3.19." fi }