From: cajus Date: Mon, 5 Dec 2005 06:53:54 +0000 (+0000) Subject: Fixed postrm to remove correct config file X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fe8831eea8063724d0ba8de2290e711324fe5651;p=gosa.git Fixed postrm to remove correct config file git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2228 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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