Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 authored and aymanbagabas committed May 2, 2023
1 parent bdcc8fb commit 12b410f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .nfpm/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -e

if ! command -V systemctl >/dev/null 2>&1; then
echo "Not running SystemD, ignoring"
echo "Not running SystemD, ignoring"
exit 0
fi

Expand Down
5 changes: 5 additions & 0 deletions .nfpm/postremove.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#!/bin/sh
set -e

if ! command -V systemctl >/dev/null 2>&1; then
echo "Not running SystemD, ignoring"
exit 0
fi

systemctl stop soft.service
systemctl disable soft.service
systemctl daemon-reload

0 comments on commit 12b410f

Please sign in to comment.