From 44ef24620ea21dd3f78fcd576adb5c29e8b818d6 Mon Sep 17 00:00:00 2001 From: angristan Date: Thu, 8 Aug 2019 23:02:50 +0200 Subject: [PATCH] Prevent word splitting Make CI happy (shellcheck - SC2046) --- wireguard-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wireguard-install.sh b/wireguard-install.sh index 5dadded..fd87f39 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -84,13 +84,13 @@ fi if [[ "$OS" = 'ubuntu' ]]; then add-apt-repository ppa:wireguard/wireguard apt-get update - apt-get install linux-headers-$(uname -r) + apt-get install "linux-headers-$(uname -r)" apt-get install wireguard iptables 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-get install "linux-headers-$(uname -r)" apt install wireguard iptables elif [[ "$OS" = 'fedora' ]]; then dnf copr enable jdoss/wireguard