File: postfix.prerm

package info (click to toggle)
postfix 3.10.5-3
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 27,972 kB
  • sloc: ansic: 134,706; makefile: 17,984; sh: 6,971; perl: 2,796; python: 1,448; awk: 158
file content (12 lines) | stat: -rw-r--r-- 265 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -e

if [ remove = "$1" ] && cd /var/spool/postfix
then
    # remove chroot files (for main instance only)
    # do this in prerm to stop dpkg from removing non-emoty dirs
    rm -rf dev etc lib usr
    #XXX remove the queue files too?
fi

#DEBHELPER#