Merge pull request #41 from shyamjos/patch-1

added missing package - resolvconf
This commit is contained in:
Stanislas 2019-10-29 22:17:39 +09:00 committed by GitHub
commit 3b7a8c0362
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -85,13 +85,13 @@ if [[ "$OS" = 'ubuntu' ]]; then
add-apt-repository ppa:wireguard/wireguard
apt-get update
apt-get install "linux-headers-$(uname -r)"
apt-get install wireguard iptables
apt-get install wireguard iptables resolvconf
elif [[ "$OS" = 'debian' ]]; then
echo "deb http://deb.debian.org/debian/ unstable main" > /etc/apt/sources.list.d/unstable.list
printf 'Package: *\nPin: release a=unstable\nPin-Priority: 90\n' > /etc/apt/preferences.d/limit-unstable
apt update
apt-get install "linux-headers-$(uname -r)"
apt install wireguard iptables
apt install wireguard iptables resolvconf
elif [[ "$OS" = 'fedora' ]]; then
dnf copr enable jdoss/wireguard
dnf install wireguard-dkms wireguard-tools iptables