From: cajus Date: Wed, 2 Jan 2008 14:43:42 +0000 (+0000) Subject: Updated infrastructure X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d2b89e6aaec10b3a69516fe78f45d36b050b9651;p=gosa.git Updated infrastructure git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8180 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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-client.postinst deleted file mode 100644 index 191e4c377..000000000 --- a/gosa-si/debian/gosa-si-client.postinst +++ /dev/null @@ -1,15 +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/client/events ] && install -d -o root -g root -m 750 /etc/gosa-si/client/events - diff --git a/gosa-si/debian/gosa-si-common.postinst b/gosa-si/debian/gosa-si-common.postinst new file mode 100644 index 000000000..4089820f0 --- /dev/null +++ b/gosa-si/debian/gosa-si-common.postinst @@ -0,0 +1,15 @@ +#!/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 /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