From d2b89e6aaec10b3a69516fe78f45d36b050b9651 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 2 Jan 2008 14:43:42 +0000 Subject: [PATCH] Updated infrastructure git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8180 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/debian/gosa-si-client.dirs | 2 +- ...-si-client.postinst => gosa-si-common.postinst} | 2 +- gosa-si/debian/gosa-si-server.dirs | 2 ++ gosa-si/debian/gosa-si-server.install | 4 ++-- gosa-si/debian/gosa-si-server.postinst | 14 -------------- 5 files changed, 6 insertions(+), 18 deletions(-) rename gosa-si/debian/{gosa-si-client.postinst => gosa-si-common.postinst} (73%) delete mode 100644 gosa-si/debian/gosa-si-server.postinst diff --git a/gosa-si/debian/gosa-si-client.dirs b/gosa-si/debian/gosa-si-client.dirs index e524ee14c..2f6b7067d 100644 --- a/gosa-si/debian/gosa-si-client.dirs +++ b/gosa-si/debian/gosa-si-client.dirs @@ -1,3 +1,3 @@ etc/gosa-si usr/sbin -etc/gosa-si/client/events +usr/lib/gosa-si/client/events diff --git a/gosa-si/debian/gosa-si-client.postinst b/gosa-si/debian/gosa-si-common.postinst similarity index 73% rename from gosa-si/debian/gosa-si-client.postinst rename to gosa-si/debian/gosa-si-common.postinst index 191e4c377..4089820f0 100644 --- a/gosa-si/debian/gosa-si-client.postinst +++ b/gosa-si/debian/gosa-si-common.postinst @@ -11,5 +11,5 @@ case "$1" in *) exit 0; esac -[ ! -d /etc/gosa-si/client/events ] && install -d -o root -g root -m 750 /etc/gosa-si/client/events +[ ! -d /var/lib/gosa-si ] && install -d -o root -g root -m 750 /var/lib/gosa-si diff --git a/gosa-si/debian/gosa-si-server.dirs b/gosa-si/debian/gosa-si-server.dirs index 08f1b0938..be099ffcf 100644 --- a/gosa-si/debian/gosa-si-server.dirs +++ b/gosa-si/debian/gosa-si-server.dirs @@ -1,2 +1,4 @@ usr/sbin +usr/lib/gosa-si/modules +usr/lib/gosa-si/server/events etc/gosa-si diff --git a/gosa-si/debian/gosa-si-server.install b/gosa-si/debian/gosa-si-server.install index cc34c2110..b7c600f74 100644 --- a/gosa-si/debian/gosa-si-server.install +++ b/gosa-si/debian/gosa-si-server.install @@ -3,5 +3,5 @@ gosa-si-bus usr/sbin server.conf etc/gosa-si bus.conf etc/gosa-si modules/ServerPackages.pm usr/lib/gosa-si/modules -modules/DBsqlite.pm usr/lib/gosa-si/modules -modules/GosaSupportDaemon.pm usr/lib/gosa-si/modules +modules/GosaPackages.pm usr/lib/gosa-si/modules +server/events/ping usr/lib/gosa-si/server/events diff --git a/gosa-si/debian/gosa-si-server.postinst b/gosa-si/debian/gosa-si-server.postinst deleted file mode 100644 index 93f10a20e..000000000 --- a/gosa-si/debian/gosa-si-server.postinst +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -#DEBHELPER# - -# We exit unless the package is being configured -case "$1" in - abort*upgrade) exit 0;; - abort*remove) exit 0;; - abort*deconfigure) exit 0;; - configure) ;; - *) exit 0; -esac - -[ ! -d /etc/gosa-si/server/events ] && install -d -o root -g root -m 750 /etc/gosa-si/server/events -- 2.30.2