fix(arch): fix incorrect string comparison
This commit is contained in:
parent
8780afac02
commit
c5e8cefc84
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ if [[ ! -e /etc/wireguard/wg0.conf ]]; then
|
|||
# Fedora
|
||||
dnf install -y wireguard-tools qrencode ca-certificates tar $cron $firewall
|
||||
mkdir -p /etc/wireguard/
|
||||
elif [[ "$os" == "fedora" ]]; then
|
||||
elif [[ "$os" == "arch" ]]; then
|
||||
# Arch
|
||||
pacman -Sy
|
||||
pacman -S --needed --noconfirm wireguard-tools qrencode ca-certificates $cron $firewall
|
||||
|
|
Loading…
Add table
Reference in a new issue