1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/mail/archiveopteryx/pkg-deinstall
Ashish SHUKLA 70497625fb Archiveopteryx is an Internet mail server, optimised to support
long-term archival storage. It seeks to make it practical not only to
manage large archives, but to use the information therein on a daily
basis instead of relegating it to offline storage.

WWW:	http://www.archiveopteryx.org/

Approved by:	pgj (mentor)
2010-10-03 13:24:47 +00:00

21 lines
326 B
Bash

#!/bin/sh
PKGNAME=$1
TARGET=$2
RMDIR=/bin/rmdir
if [ $# -ne 2 ]; then
echo "Usage: $0 [PKGNAME] [DEINSTALL | POST-DEINSTALL]"
exit 1
fi
if [ "$TARGET" = 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
exit 0