From: cajus Date: Sun, 17 Oct 2010 18:01:17 +0000 (+0000) Subject: Added trigger X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4325a6f6e1f6abf5cbbc4597f2b7bb36ce237452;p=gosa.git Added trigger git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20071 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/debian/gosa.postinst b/gosa-core/debian/gosa.postinst index 6286d073a..c5be14243 100644 --- a/gosa-core/debian/gosa.postinst +++ b/gosa-core/debian/gosa.postinst @@ -12,6 +12,11 @@ case "$1" in abort-upgrade|abort-remove|abort-deconfigure) ;; + triggered) + /usr/sbin/update-gosa + exit 0 + ;; + *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 @@ -104,4 +109,3 @@ chmod 770 -R /var/cache/gosa update-gosa exit 0 - diff --git a/gosa-core/debian/gosa.triggers b/gosa-core/debian/gosa.triggers new file mode 100644 index 000000000..920f3cb05 --- /dev/null +++ b/gosa-core/debian/gosa.triggers @@ -0,0 +1,2 @@ +interest update-gosa +interest /usr/share/gosa/plugins