X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostrm;fp=debian%2Fpostrm;h=3a001595391bfd2bdcb12bd938ad9ddb2e6c99b2;hb=5bf19bbc5825021a53a9a0ea408bc497400584d8;hp=0000000000000000000000000000000000000000;hpb=18d5a3fc76c79f75e8fd7ae6938bf162134677ee;p=ossec-hids.git diff --git a/debian/postrm b/debian/postrm new file mode 100644 index 0000000..3a00159 --- /dev/null +++ b/debian/postrm @@ -0,0 +1,28 @@ +#! /bin/sh + +set -e + +case "$1" in + purge) + # continue below + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + exit 0 + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# update system v init links +update-rc.d -f ossec-hids remove + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0