aboutsummaryrefslogtreecommitdiffstats
path: root/mail/fetchmail/files/pkg-deinstall.in
blob: b5db8a91f305ff99b682de4c9ff752efcd1a96c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

if [ x$2 != xPOST-DEINSTALL ]; then
  exit
fi

if [ -f /var/run/%%PORTNAME%%/fetchmail.pid ] ; then
  /bin/rm -f /var/run/%%PORTNAME%%/fetchmail.pid
fi

/bin/rmdir /var/run/%%PORTNAME%%

exit