From 299c45d66a6272e942e556bee9622727de99773e Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 2 Jan 2008 14:07:53 +0000 Subject: [PATCH] Updated infrastructure git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8176 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/debian/gosa-si-client.dirs | 1 + gosa-si/debian/gosa-si-client.postinst | 15 +++++++++++++++ gosa-si/debian/gosa-si-server.dirs | 1 + gosa-si/debian/gosa-si-server.install | 3 +++ gosa-si/debian/gosa-si-server.postinst | 14 ++++++++++++++ gosa-si/debian/rules | 1 - gosa-si/{ => modules}/DBsqlite.pm | 0 7 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 gosa-si/debian/gosa-si-client.postinst create mode 100644 gosa-si/debian/gosa-si-server.postinst rename gosa-si/{ => modules}/DBsqlite.pm (100%) diff --git a/gosa-si/debian/gosa-si-client.dirs b/gosa-si/debian/gosa-si-client.dirs index fc22b1cec..e524ee14c 100644 --- a/gosa-si/debian/gosa-si-client.dirs +++ b/gosa-si/debian/gosa-si-client.dirs @@ -1,2 +1,3 @@ etc/gosa-si usr/sbin +etc/gosa-si/client/events diff --git a/gosa-si/debian/gosa-si-client.postinst b/gosa-si/debian/gosa-si-client.postinst new file mode 100644 index 000000000..191e4c377 --- /dev/null +++ b/gosa-si/debian/gosa-si-client.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 /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-server.dirs b/gosa-si/debian/gosa-si-server.dirs index 08f1b0938..9103800e9 100644 --- a/gosa-si/debian/gosa-si-server.dirs +++ b/gosa-si/debian/gosa-si-server.dirs @@ -1,2 +1,3 @@ usr/sbin etc/gosa-si +etc/gosa-si/server/events diff --git a/gosa-si/debian/gosa-si-server.install b/gosa-si/debian/gosa-si-server.install index 52992a51e..d147f8b75 100644 --- a/gosa-si/debian/gosa-si-server.install +++ b/gosa-si/debian/gosa-si-server.install @@ -3,3 +3,6 @@ gosa-si-bus usr/sbin server.conf etc/gosa-si bus.conf etc/gosa-si modules/ServerPackages.pm usr/share/perl5/GOSA +modules/DBsqlite.pm usr/share/perl5/GOSA +modules/GosaPackages.pm usr/share/perl5/GOSA +modules/GosaSupportDaemon.pm usr/share/perl5/GOSA diff --git a/gosa-si/debian/gosa-si-server.postinst b/gosa-si/debian/gosa-si-server.postinst new file mode 100644 index 000000000..93f10a20e --- /dev/null +++ b/gosa-si/debian/gosa-si-server.postinst @@ -0,0 +1,14 @@ +#!/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 diff --git a/gosa-si/debian/rules b/gosa-si/debian/rules index bbc97a9e1..d74e36f0e 100755 --- a/gosa-si/debian/rules +++ b/gosa-si/debian/rules @@ -55,7 +55,6 @@ binary-indep: install dh_installchangelogs #dh_installdebconf dh_installinit --init-script=gosa-si - install -d -o root -g root -m 750 debian/gosa-si-server/etc/gosa-si/modules dh_link dh_strip dh_compress diff --git a/gosa-si/DBsqlite.pm b/gosa-si/modules/DBsqlite.pm similarity index 100% rename from gosa-si/DBsqlite.pm rename to gosa-si/modules/DBsqlite.pm -- 2.30.2