diff options
author | angristan <angristan@pm.me> | 2019-08-08 23:02:50 +0200 |
---|---|---|
committer | angristan <angristan@pm.me> | 2019-08-08 23:02:50 +0200 |
commit | 44ef24620ea21dd3f78fcd576adb5c29e8b818d6 (patch) | |
tree | fd66e6f2cc4f6906c16d6ceab2982c7980e9ebcb | |
parent | 3d664036f06014f18d9c5183827a07c8a9244138 (diff) |
Prevent word splitting
Make CI happy (shellcheck - SC2046)
-rw-r--r-- | wireguard-install.sh | 4 |
1 files 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 |