diff options
author | angristan <angristan@pm.me> | 2020-01-12 12:31:23 +0100 |
---|---|---|
committer | angristan <angristan@pm.me> | 2020-01-12 12:31:32 +0100 |
commit | ac1fb87a4c4db814946a83fad8ed6f1ab907f607 (patch) | |
tree | b1fb50fc25377fbcb8fd0797dd7bba4f2ced23ac /wireguard-install.sh | |
parent | b902889ad3b7c8ff7bba22faafb41756c9379823 (diff) |
Install software-properties-common on Ubuntu to add PPA
Fix #48
Diffstat (limited to 'wireguard-install.sh')
-rw-r--r-- | wireguard-install.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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)" |