head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2006.01.06.00.38.11;	author thierry;	state dead;
branches;
next	1.1;

1.1
date	2005.08.28.09.36.29;	author thierry;	state Exp;
branches;
next	;


desc
@@


1.2
log
@- Replace WITH_APACHE2 by USE_APACHE, rename httpd.conf.xxx to
  httpd-xxx.conf and fix configuration if APACHE_VERSION > 20.

- Don't use the MCAL back-end by default for Kronolith, it is
  deprecated.

- Deinstall bug reported by John Nielsen <john (at) jnielsen.net>:
  respect LHORDEDIR.

- Fix horde-passwd installation / deinstallation.

- Don't bump PORTREVISION, because running installations are not
  concerned.
@
text
@#!/bin/sh
#
# $FreeBSD: ports/ftp/gollem/pkg-deinstall,v 1.1 2005/08/28 09:36:29 thierry Exp $
#
# Backup Gollem config files, if needed.

if [ x$2 != xDEINSTALL ]; then
    exit
fi

if [ -z "${PACKAGE_BUILDING}" ]; then
  for cf in `ls ${PKG_PREFIX}/www/horde/gollem/config/*php`; do
    diff -bBqw $cf $cf.dist >/dev/null 2>&1
    case $? in
      0)  # original config file, will be deleted by pkg-plist
          ;;
      1)  # config file has been updated, must be backuped
          cp -p $cf $cf.previous
          echo "===> Backing-up..."
          echo "--->   $cf has been saved ***"
          echo "--->      as $cf.previous ***"
          ;;
      *)  # not found?
          ;;
    esac
  done
fi
@


1.1
log
@Add gollem 1.0, the Horde web-based File Manager.
@
text
@d3 1
a3 1
# $FreeBSD$
@

