mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-06 01:57:40 +00:00
bf5bbb00fa
- OPTIONSngify - Error out on build if older version installed with config file present; this must be backed up or it will be lost on deinstall. - Shift default DB storage location from /var/lib/couchdb to /var/db/couchdb to make it consistent with other DB storage engine ports which use /var/db as their base (eg; mySQL). PR: ports/168923 Submitted by: Adam Strohl <adams-ports@ateamsystems.com> Approved by: maintainer timeout (till@php.net, >14 days)
16 lines
261 B
Bash
16 lines
261 B
Bash
#!/bin/sh
|
|
|
|
RMDIR=/bin/rmdir
|
|
|
|
COUCH_DBDIR=/var/db/couchdb
|
|
COUCH_LOGDIR=/var/log/couchdb
|
|
COUCH_RUNDIR=/var/run/couchdb
|
|
|
|
if [ "$2" = "POST-DEINSTALL" ]; then
|
|
for i in ${COUCH_RUNDIR} ${COUCH_DBDIR} ${COUCH_LOGDIR}; do
|
|
${RMDIR} ${i} 2>/dev/null
|
|
done
|
|
fi
|
|
|
|
exit 0
|