aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislas Lange <angristan@pm.me>2020-04-26 12:54:03 +0200
committerStanislas Lange <angristan@pm.me>2020-04-26 12:54:16 +0200
commit89258ba91d5d8720c56466501c2fb23123deef2f (patch)
tree746798954c9eb7354e94c178a06b0f2061ce1c06
parent071466eccd95b439312c6fd4aa465ba8532ffb01 (diff)
Mitigate Debian packaging issue
bc is missing as dependency: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956869 fix #70
-rw-r--r--wireguard-install.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/wireguard-install.sh b/wireguard-install.sh
index c8a0515..031dc33 100644
--- a/wireguard-install.sh
+++ b/wireguard-install.sh
@@ -142,6 +142,7 @@ elif [[ "$OS" = 'debian' ]]; then
apt update
apt-get install -y "linux-headers-$(uname -r)"
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
if [[ "$VERSION_ID" -lt 32 ]]; then
dnf install -y dnf-plugins-core