unsupported OS

This commit is contained in:
Steven Foerster
2020-08-09 09:28:15 -04:00
parent 33c8d6c231
commit 8d1de1695b
+3
View File
@@ -134,6 +134,9 @@ if [ "$DISTRO" == "ubuntu" ] || [ "$DISTRO" == "debian" ]; then
sudo -E apt install -y linux-headers-$(uname -r) sudo -E apt install -y linux-headers-$(uname -r)
elif [ "$DISTRO" == "raspbian" ] || [ "$DISTRO" == "raspios" ]; then elif [ "$DISTRO" == "raspbian" ] || [ "$DISTRO" == "raspios" ]; then
sudo -E apt install -y raspberrypi-kernel-headers sudo -E apt install -y raspberrypi-kernel-headers
else
echo "Unsupported OS: $DISTRO"
exit 1
fi fi
# Wireugard # Wireugard