mirror of
https://github.com/angristan/wireguard-install.git
synced 2024-11-24 21:57:37 +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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user