Skip to content

Commit

Permalink
Merge pull request #105 from crowdsecurity/fix_debian_upgrade
Browse files Browse the repository at this point in the history
fix debian upgrade : perform variable replacement and try to keep API key if it already exists
  • Loading branch information
buixor authored Dec 23, 2021
2 parents 932c475 + 8a8fb81 commit eebd0b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion debian/crowdsec-firewall-bouncer-iptables.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ systemctl daemon-reload

START=0

if [ "$1" = "configure" ] && [ "$2" = "" ]; then
if [ "$1" = "configure" ]; then

type cscli > /dev/null

Expand Down
2 changes: 1 addition & 1 deletion debian/crowdsec-firewall-bouncer-nftables.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ systemctl daemon-reload

START=0

if [ "$1" = "configure" ] && [ "$2" = "" ]; then
if [ "$1" = "configure" ]; then

type cscli > /dev/null

Expand Down

0 comments on commit eebd0b0

Please sign in to comment.