diff --git a/debian/crowdsec-firewall-bouncer-iptables.postinst b/debian/crowdsec-firewall-bouncer-iptables.postinst index 478fca4d..30673449 100755 --- a/debian/crowdsec-firewall-bouncer-iptables.postinst +++ b/debian/crowdsec-firewall-bouncer-iptables.postinst @@ -4,7 +4,7 @@ systemctl daemon-reload START=0 -if [ "$1" = "configure" ] && [ "$2" = "" ]; then +if [ "$1" = "configure" ]; then type cscli > /dev/null diff --git a/debian/crowdsec-firewall-bouncer-nftables.postinst b/debian/crowdsec-firewall-bouncer-nftables.postinst index 48bf4abc..5e0725cb 100755 --- a/debian/crowdsec-firewall-bouncer-nftables.postinst +++ b/debian/crowdsec-firewall-bouncer-nftables.postinst @@ -4,7 +4,7 @@ systemctl daemon-reload START=0 -if [ "$1" = "configure" ] && [ "$2" = "" ]; then +if [ "$1" = "configure" ]; then type cscli > /dev/null