#!/bin/sh PATH=/bin:/usr/bin:/usr/sbin TMPFILE=/tmp/services-$RANDOM-$$ if [ -z "${BACULA_DIR}" ]; then BACULA_DIR=/var/db/bacula fi case "$2" in "DEINSTALL") # Delete entries in /etc/services sed -e '/# Bacula port start/,/# Bacule port end/{' \ -e 'd' \ -e '}' /etc/services > $TMPFILE mv -f $TMPFILE /etc/services if [ -d ${BACULA_DIR} ]; then rmdir ${BACULA_DIR}; fi if [ -d ${BACULA_DIR} ]; then echo "Check if ${BACULA_DIR} is empty and delete it to permanently remove the bacula port" fi # Note how to delete UID/GID USER=bacula GROUP=${USER} if pw groupshow "${USER}" 2>/dev/null 1>&2; then echo "To delete Bacula group permanently, use 'pw groupdel ${GROUP}'" fi ;; esac 01902062/git/freebsd-ports-gnome' title='freebsd-ports-gnome Git repository'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/mell
Commit message (Expand)AuthorAgeFilesLines
* Switch autoconf dependencies from 2.53 or 2.59 to 2.61.linimon2007-09-301-1/+2
* SHA256ifyedwin2006-01-221-0/+1
* eplace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-221-1/+1
* Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-221-1/+1
* Mass-conversion to the USE_AUTOTOOLS New World Order. The code presentade2005-11-151-2/+1