#!/bin/sh
set -e

# remove pid and pipe file only when being removed
case "$1" in
  "remove"| "purge"| "abort-install")
    # make sure pipe and pid file are removed
    rm -f /var/run/snmptrapfmt.p /var/run/snmptrapfmt.pid
    ;;
  *)
    ;;
esac

#DEBHELPER#
