#!/bin/sh if [ x"$2" != x"POST-DEINSTALL" ]; then exit 0 fi TMPDIR=${TMPDIR:=/tmp} PKG_TMPDIR=${PKG_TMPDIR:=${TMPDIR}} apxscmd=${PKG_PREFIX}/sbin/apxs tmpdir=${PKG_TMPDIR}/deinst_netdisco.$$ if [ ! -x ${apxscmd} ]; then echo Can\'t find the apxs program: ${apxscmd}. exit 1 fi confdir=`${apxscmd} -q SYSCONFDIR` if [ ! -d ${confdir} ]; then echo Can\'t find Apache conf dir: ${confdir} exit 1 fi if [ -f ${confdir}/httpd.conf ]; then conffile=httpd.conf fi if [ -z "${conffile}" ]; then echo Can\'t find ${confdir}/httpd.conf exit 1 fi if ! mkdir ${tmpdir}; then echo Can\'t create temporary directory: ${tmpdir} exit 1 fi for i in ${conffile}; do awk '{if (!/^# Netdisco include file[s]/ && !/^Include.*netdisco_apache.*\.conf/) \ print $0}' < ${confdir}/$i > ${tmpdir}/$i echo Updating $i in config dir: ${confdir} cat ${tmpdir}/$i > ${confdir}/$i done rm -Rf ${tmpdir} exit 0 /cgit.png' alt='cgit logo'/> index : freebsd-ports-gnome
FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks/gtubeclock
Commit message (Expand)AuthorAgeFilesLines
* Stagify.vanilla2014-07-011-3/+2
* Reset maintainer, email bouncesantoine2014-06-281-1/+1
* - Remove manual creation and removal of share/applications, as it's now in th...amdmi32013-10-221-1/+0
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1
* Add an explicit dependency on pkgconfbapt2013-09-031-5/+2
* - update png to 1.5.10dinoex2012-06-01