From ac1fb87a4c4db814946a83fad8ed6f1ab907f607 Mon Sep 17 00:00:00 2001 From: angristan Date: Sun, 12 Jan 2020 12:31:23 +0100 Subject: [PATCH] Install software-properties-common on Ubuntu to add PPA Fix #48 --- wireguard-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/wireguard-install.sh b/wireguard-install.sh index 0dcbc40..7c7bcd6 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -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)"