We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 494a618 commit 4f33aedCopy full SHA for 4f33aed
packaging/debian/prerm
@@ -16,10 +16,20 @@ case "$1" in
16
rm -fr /var/log/mamonsu
17
rm -fr /var/run/mamonsu
18
rm -fr /var/lib/mamonsu
19
- rm -f /etc/mamonsu/agent.conf
20
- rm -rf /etc/mamonsu/plugins
21
;;
22
*)
23
echo "prerm called with unknown argument \`$1'" >&2
24
exit 1
25
esac
+
+#DEBHELPER#
26
27
+case "$1" in
28
+remove)
29
+ type systemctl > /dev/null 2>&1 && rm /etc/init.d/mamonsu || :
30
+ type systemctl > /dev/null 2>&1 && systemctl daemon-reload || :
31
+ ;;
32
+*)
33
+;;
34
+esac
35
0 commit comments