Skip to content

Commit

Permalink
Hide status output in rpm/deb pre/post scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
rs committed Nov 17, 2019
1 parent 63fee6b commit 52756e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .goreleaser/postinstall.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh

if nextdns status; then
if nextdns status > /dev/null 2>&1; then
nextdns restart
fi
2 changes: 1 addition & 1 deletion .goreleaser/preremove.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh

if nextdns status; then
if nextdns status > /dev/null 2>&1; then
nextdns uninstall
fi

0 comments on commit 52756e9

Please sign in to comment.