postrm 179 Bytes
Newer Older
Julien Muchembled's avatar
Julien Muchembled committed
1 2 3 4 5 6 7 8 9 10
#!/bin/sh -e

[ "$DPKG_MAINTSCRIPT_PACKAGE" ]

[ "$1" = purge ] && for d in lib log; do
  d=/var/$d/$DPKG_MAINTSCRIPT_PACKAGE
  [ ! -d "$d" ] || rm -r "$d" || :
done

#DEBHELPER#