fix: format

Carlos Alexandro Becker created

Change summary

.nfpm/postinstall.sh | 2 +-
.nfpm/postremove.sh  | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)

Detailed changes

.nfpm/postinstall.sh 🔗

@@ -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
 

.nfpm/postremove.sh 🔗

@@ -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