diff --git a/software.yml b/software.yml index 45611b22..1baef47a 100644 --- a/software.yml +++ b/software.yml @@ -9443,7 +9443,7 @@ softwarePackages: - docker-compose-plugin openssh-server: _service: sshd - _when: echo '! grep Microsoft /proc/version && ! test -d /Applications' | bash + _when: echo '! grep Microsoft /proc/version > /dev/null && ! test -d /Applications' | bash apt: openssh-server dnf: openssh-server pacman: openssh @@ -9458,7 +9458,7 @@ softwarePackages: fail2ban: _service: fail2ban # fail2ban cannot be installed on Qubes Fedora 36 without messing with the qubes-firewall since firewalld is required - _when: echo '! command -v qubes-firewall > /dev/null && ! "$(grep Microsoft /proc/version)"' | bash + _when: echo '! command -v qubes-firewall > /dev/null && ! grep Microsoft /proc/version > /dev/null' | bash apt: fail2ban brew: fail2ban dnf: fail2ban