mirror of
https://github.com/angristan/wireguard-install.git
synced 2024-12-26 03:37:30 +00:00
Prevent word splitting
Make CI happy (shellcheck - SC2046)
This commit is contained in:
parent
3d664036f0
commit
44ef24620e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user