1
1
mirror of https://github.com/angristan/wireguard-install.git synced 2024-11-22 04:35:09 +00:00

Mitigate Debian packaging issue

bc is missing as dependency: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956869

fix #70
This commit is contained in:
Stanislas Lange 2020-04-26 12:54:03 +02:00
parent 071466eccd
commit 89258ba91d

View File

@ -142,6 +142,7 @@ elif [[ "$OS" = 'debian' ]]; then
apt update apt update
apt-get install -y "linux-headers-$(uname -r)" apt-get install -y "linux-headers-$(uname -r)"
apt-get install -y wireguard iptables resolvconf qrencode apt-get install -y wireguard iptables resolvconf qrencode
apt-get install -y bc # mitigate https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956869
elif [[ "$OS" = 'fedora' ]]; then elif [[ "$OS" = 'fedora' ]]; then
if [[ "$VERSION_ID" -lt 32 ]]; then if [[ "$VERSION_ID" -lt 32 ]]; then
dnf install -y dnf-plugins-core dnf install -y dnf-plugins-core