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
1 changed files with 1 additions and 0 deletions

View File

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