From: cajus Date: Sun, 17 Oct 2010 09:44:22 +0000 (+0000) Subject: Added trigger test X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d4b1018e04c409cfb0950dd776878d1a1a4fdba1;p=gosa.git Added trigger test git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@20065 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/debian/gosa-plugin-addressbook.trigger b/gosa-core/debian/gosa-plugin-addressbook.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-addressbook.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-connectivity.trigger b/gosa-core/debian/gosa-plugin-connectivity.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-connectivity.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-dhcp-schema.trigger b/gosa-core/debian/gosa-plugin-dhcp-schema.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-dhcp-schema.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-dhcp.trigger b/gosa-core/debian/gosa-plugin-dhcp.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-dhcp.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-dns-schema.trigger b/gosa-core/debian/gosa-plugin-dns-schema.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-dns-schema.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-dns.trigger b/gosa-core/debian/gosa-plugin-dns.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-dns.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-fai-schema.trigger b/gosa-core/debian/gosa-plugin-fai-schema.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-fai-schema.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-fai.trigger b/gosa-core/debian/gosa-plugin-fai.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-fai.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-gofax.trigger b/gosa-core/debian/gosa-plugin-gofax.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-gofax.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-gofon.trigger b/gosa-core/debian/gosa-plugin-gofon.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-gofon.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-goto.trigger b/gosa-core/debian/gosa-plugin-goto.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-goto.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-kolab-schema.trigger b/gosa-core/debian/gosa-plugin-kolab-schema.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-kolab-schema.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-kolab.trigger b/gosa-core/debian/gosa-plugin-kolab.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-kolab.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-ldapmanager.trigger b/gosa-core/debian/gosa-plugin-ldapmanager.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-ldapmanager.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-log-schema.trigger b/gosa-core/debian/gosa-plugin-log-schema.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-log-schema.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-log.trigger b/gosa-core/debian/gosa-plugin-log.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-log.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-mail.trigger b/gosa-core/debian/gosa-plugin-mail.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-mail.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-mit-krb5-schema.trigger b/gosa-core/debian/gosa-plugin-mit-krb5-schema.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-mit-krb5-schema.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-mit-krb5.trigger b/gosa-core/debian/gosa-plugin-mit-krb5.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-mit-krb5.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-nagios-schema.trigger b/gosa-core/debian/gosa-plugin-nagios-schema.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-nagios-schema.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-nagios.trigger b/gosa-core/debian/gosa-plugin-nagios.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-nagios.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-netatalk.trigger b/gosa-core/debian/gosa-plugin-netatalk.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-netatalk.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-opengroupware.trigger b/gosa-core/debian/gosa-plugin-opengroupware.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-opengroupware.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-openxchange-schema.trigger b/gosa-core/debian/gosa-plugin-openxchange-schema.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-openxchange-schema.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-openxchange.trigger b/gosa-core/debian/gosa-plugin-openxchange.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-openxchange.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-opsi.trigger b/gosa-core/debian/gosa-plugin-opsi.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-opsi.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-phpgw-schema.trigger b/gosa-core/debian/gosa-plugin-phpgw-schema.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-phpgw-schema.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-phpgw.trigger b/gosa-core/debian/gosa-plugin-phpgw.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-phpgw.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-phpscheduleit-schema.trigger b/gosa-core/debian/gosa-plugin-phpscheduleit-schema.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-phpscheduleit-schema.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-phpscheduleit.trigger b/gosa-core/debian/gosa-plugin-phpscheduleit.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-phpscheduleit.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-pptp-schema.trigger b/gosa-core/debian/gosa-plugin-pptp-schema.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-pptp-schema.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-pptp.trigger b/gosa-core/debian/gosa-plugin-pptp.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-pptp.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-pureftpd-schema.trigger b/gosa-core/debian/gosa-plugin-pureftpd-schema.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-pureftpd-schema.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-pureftpd.trigger b/gosa-core/debian/gosa-plugin-pureftpd.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-pureftpd.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-rolemanagement.trigger b/gosa-core/debian/gosa-plugin-rolemanagement.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-rolemanagement.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-rsyslog.trigger b/gosa-core/debian/gosa-plugin-rsyslog.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-rsyslog.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-samba.trigger b/gosa-core/debian/gosa-plugin-samba.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-samba.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-scalix.trigger b/gosa-core/debian/gosa-plugin-scalix.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-scalix.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-squid.trigger b/gosa-core/debian/gosa-plugin-squid.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-squid.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-ssh-schema.trigger b/gosa-core/debian/gosa-plugin-ssh-schema.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-ssh-schema.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-ssh.trigger b/gosa-core/debian/gosa-plugin-ssh.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-ssh.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-sudo-schema.trigger b/gosa-core/debian/gosa-plugin-sudo-schema.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-sudo-schema.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-sudo.trigger b/gosa-core/debian/gosa-plugin-sudo.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-sudo.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-systems.trigger b/gosa-core/debian/gosa-plugin-systems.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-systems.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-uw-imap.trigger b/gosa-core/debian/gosa-plugin-uw-imap.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-uw-imap.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa-plugin-webdav.trigger b/gosa-core/debian/gosa-plugin-webdav.trigger new file mode 100644 index 000000000..04f70515f --- /dev/null +++ b/gosa-core/debian/gosa-plugin-webdav.trigger @@ -0,0 +1 @@ +activate update-gosa diff --git a/gosa-core/debian/gosa.postinst b/gosa-core/debian/gosa.postinst index 6286d073a..1f9740c9a 100644 --- a/gosa-core/debian/gosa.postinst +++ b/gosa-core/debian/gosa.postinst @@ -12,6 +12,20 @@ case "$1" in abort-upgrade|abort-remove|abort-deconfigure) ;; + triggered) + for triggername in $2; do + case "$triggername" in + "update-gosa") + /usr/sbin/update-gosa + ;; + *) + echo "unhandled/unknown trigger!" + exit 1 + ;; + esac + done + ;; + *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 diff --git a/gosa-core/debian/gosa.triggers b/gosa-core/debian/gosa.triggers new file mode 100644 index 000000000..3ce851e70 --- /dev/null +++ b/gosa-core/debian/gosa.triggers @@ -0,0 +1 @@ +interest update-gosa