fix(arch): fix incorrect string comparison

This commit is contained in:
John Bernard 2023-08-30 05:12:51 -05:00
parent 8780afac02
commit c5e8cefc84

View file

@ -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