572af21f20
Changes: http://pgfoundry.org/frs/shownotes.php?release_id=1795 PR: ports/157702 Submitted by: mm
21 lines
395 B
Bash
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
|