1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/mail/archiveopteryx/pkg-deinstall
Jason Helfman 739e434436 - drop invalid post-deinstall target, and adjust pkg-{de}install, respectively
PR:	ports/166060
Submitted by:	jgh@
Approved by:	maintainer, feld@feld.me
Feature safe:	yes
2012-03-14 17:55:59 +00:00

11 lines
200 B
Bash

#!/bin/sh
RMDIR=/bin/rmdir
if [ "$2" = POST-DEINSTALL ]; then
for i in /var/db/aox/jail /var/db/aox/messages /var/run/aox; do
${RMDIR} ${i} 2>/dev/null
done
${RMDIR} /var/db/aox 2>/dev/null
fi