freebsd-ports/databases/pgbouncer/files/pkg-deinstall.in
Sergey Skvortsov 572af21f20 Update to 1.4.1
Changes:	http://pgfoundry.org/frs/shownotes.php?release_id=1795
PR:		ports/157702
Submitted by:	mm
2011-06-08 17:13:12 +00:00

21 lines
395 B
Bash

#! /bin/sh
# $FreeBSD$
if [ "$2" != "POST-DEINSTALL" ]; then
exit 0
fi
pgbouncer_user=%%PGBOUNCER_USER%%
pgbouncer_group=%%PGBOUNCER_GROUP%%
PGBOUNCER_RUNDIR=%%PGBOUNCER_RUNDIR%%
PGBOUNCER_LOGDIR=%%PGBOUNCER_LOGDIR%%
PW="%%PW%%"
for DIR in ${PGBOUNCER_RUNDIR} ${PGBOUNCER_LOGDIR}; do
if test -d "${DIR}"; then
echo "==> You should manually remove the directory: ${DIR}"
fi
done
exit 0