mirror of
https://github.com/angristan/wireguard-install.git
synced 2024-11-24 05:56:02 +03:00
Fix installation on Raspbian systems (#271)
Co-authored-by: Andrei Pampukha <andrei.pampukha@citynetwork.eu> Co-authored-by: Stanislas <stanislas.lange@pm.me>
This commit is contained in:
parent
574cc06b31
commit
5f4c2f8a38
@ -40,6 +40,7 @@ function checkOS() {
|
|||||||
echo "Your version of Debian (${VERSION_ID}) is not supported. Please use Debian 10 Buster or later"
|
echo "Your version of Debian (${VERSION_ID}) is not supported. Please use Debian 10 Buster or later"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
OS=debian # overwrite if raspbian
|
||||||
fi
|
fi
|
||||||
elif [[ -e /etc/fedora-release ]]; then
|
elif [[ -e /etc/fedora-release ]]; then
|
||||||
source /etc/os-release
|
source /etc/os-release
|
||||||
|
Loading…
Reference in New Issue
Block a user