mirror of
https://github.com/angristan/wireguard-install.git
synced 2024-11-25 14:17:34 +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:
parent
071466eccd
commit
89258ba91d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user