./packages/openofficeorg/3.2/unstable r1968: actually add -cores new maintainer scripts
------------------------------------------------------------
revno: 1968
committer: Rene Engelhard <rene@debian.org>
branch nick: unstable
timestamp: Thu 2010-04-29 23:50:44 +0200
message:
actually add -cores new maintainer scripts
added:
openoffice.org-core.postinst.in
openoffice.org-core.preinst.in
=== added file 'openoffice.org-core.postinst.in'
--- a/openoffice.org-core.postinst.in 1970-01-01 00:00:00 +0000
+++ b/openoffice.org-core.postinst.in 2010-04-29 21:50:44 +0000
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+THIS_PACKAGE=openoffice.org-core
+THIS_SCRIPT=postinst
+
+#INCLUDE_SHELL_LIB#
+
+# (re)register components on all postinst targets
+register_all_components_to_services_rdb
+
+#DEBHELPER#
+
+exit 0
=== added file 'openoffice.org-core.preinst.in'
--- a/openoffice.org-core.preinst.in 1970-01-01 00:00:00 +0000
+++ b/openoffice.org-core.preinst.in 2010-04-29 21:50:44 +0000
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+set -e
+
+THIS_PACKAGE=openoffice.org-core
+THIS_SCRIPT=preinst
+
+#INCLUDE_SHELL_LIB#
+
+case "$1" in
+ upgrade)
+ revoke_all_components_from_services_rdb
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
Reply to: