From fe8831eea8063724d0ba8de2290e711324fe5651 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 5 Dec 2005 06:53:54 +0000 Subject: [PATCH] Fixed postrm to remove correct config file git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2228 594d385d-05f5-0310-b6e9-bd551577e9d8 --- debian/gosa.postrm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/gosa.postrm b/debian/gosa.postrm index ebce79099..331f3adf6 100644 --- a/debian/gosa.postrm +++ b/debian/gosa.postrm @@ -24,13 +24,14 @@ case "$1" in # Adapt server configs for server in $servers ; do # remove GOsa include - includefile=/etc/gosa/apache.conf + includefile=/etc/$server/conf.d/gosa.conf case "$1" in purge) if [ -e /usr/share/wwwconfig-common/apache-uninclude_all.sh ] ; then . /usr/share/wwwconfig-common/apache-uninclude_all.sh if [ "$status" = "purge" ] ; then + [ -L /etc/$server/conf.d/gosa.conf ] && rm /etc/$server/conf.d/gosa.conf restart="$restart $server" fi else -- 2.30.2