From b2bbdc48d874cf23411b14d00614e9ed13204be6 Mon Sep 17 00:00:00 2001 From: jaminmc Date: Fri, 19 Feb 2021 21:05:56 -0500 Subject: [PATCH] Cleaner display of container differences. Co-authored-by: Stanislas --- wireguard-install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/wireguard-install.sh b/wireguard-install.sh index b80abf4..eceb874 100755 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -136,13 +136,12 @@ function installWireGuard() { # Install WireGuard tools and module if [[ ${OS} == 'ubuntu' ]]; then apt-get update + apt-get install -y iptables resolvconf qrencode if [[ $Container == 1 ]]; then apt-get install -y wireguard-tools --no-install-recommends - apt-get install -y iptables resolvconf qrencode else - apt-get install -y wireguard iptables resolvconf qrencode + apt-get install -y wireguard fi - elif [[ ${OS} == 'debian' ]]; then if ! grep -rqs "^deb .* buster-backports" /etc/apt/; then echo "deb http://deb.debian.org/debian buster-backports main" >/etc/apt/sources.list.d/backports.list