Prevent word splitting

Make CI happy (shellcheck - SC2046)
This commit is contained in:
angristan 2019-08-08 23:02:50 +02:00
parent 3d664036f0
commit 44ef24620e

View File

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