Install software-properties-common on Ubuntu to add PPA

Fix #48
This commit is contained in:
angristan 2020-01-12 12:31:23 +01:00
parent b902889ad3
commit ac1fb87a4c

View File

@ -82,6 +82,7 @@ fi
# Install WireGuard tools and module # Install WireGuard tools and module
if [[ "$OS" = 'ubuntu' ]]; then if [[ "$OS" = 'ubuntu' ]]; then
apt-get install software-properties-common
add-apt-repository ppa:wireguard/wireguard add-apt-repository ppa:wireguard/wireguard
apt-get update apt-get update
apt-get install "linux-headers-$(uname -r)" apt-get install "linux-headers-$(uname -r)"