1
0
mirror of synced 2024-11-22 13:06:02 +03:00

Update Debian check

- Add check for Debian 10. See: https://git.io/vpndebian10
- Remove Debian 7 check
This commit is contained in:
hwdsl2 2020-11-17 00:50:35 -06:00
parent b57678b893
commit ccd072541b
2 changed files with 2 additions and 6 deletions

View File

@ -33,10 +33,6 @@ if ! printf '%s' "$os_type" | head -n 1 | grep -qiF -e ubuntu -e debian -e raspb
exit 1
fi
if [ "$(sed 's/\..*//' /etc/debian_version)" = "7" ]; then
exiterr "Debian 7 is not supported."
fi
if [ -f /proc/user_beancounters ]; then
exiterr "OpenVZ VPS is not supported."
fi

View File

@ -60,8 +60,8 @@ if ! printf '%s' "$os_type" | head -n 1 | grep -qiF -e ubuntu -e debian -e raspb
exit 1
fi
if [ "$(sed 's/\..*//' /etc/debian_version)" = "7" ]; then
exiterr "Debian 7 is not supported."
if [ "$(sed 's/\..*//' /etc/debian_version)" = "10" ] && [ ! -e /dev/ppp ]; then
exiterr "/dev/ppp is missing. Debian 10 users, see: https://git.io/vpndebian10"
fi
if [ -f /proc/user_beancounters ]; then