Fixup the firewall install

This commit is contained in:
David Heinemeier Hansson 2025-08-24 12:41:13 +02:00
parent aa32b147ad
commit 04fff555b8
2 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,11 @@
#!/bin/bash
if ! command -v ufw &>/dev/null; then
yay -S --noconfirm --needed ufw ufw-docker
yay -S --noconfirm ufw
fi
if ! command -v ufw-docker &>/dev/null; then
yay -S --noconfirm ufw
fi
# Allow nothing in, everything out

View File

@ -1,5 +1,5 @@
#!/bin/bash
if -z "${OMARCHY_CHROOT_INSTALL:-}"; then
if [[ -z "${OMARCHY_CHROOT_INSTALL:-}" ]]; then
omarchy-install-firewall
fi