[xml/sgml-commit] r2116 - in /packages/refdb/trunk/debian: patches/series refdb-www.postinst refdb-www.prerm

malat at users.alioth.debian.org malat at users.alioth.debian.org
Thu Dec 13 14:56:37 UTC 2012


Author: malat
Date: Thu Dec 13 14:56:36 2012
New Revision: 2116

URL: http://svn.debian.org/wsvn/debian-xml-sgml/?sc=1&rev=2116
Log:
Add missing pre/post scripts

Added:
    packages/refdb/trunk/debian/refdb-www.postinst
    packages/refdb/trunk/debian/refdb-www.prerm
Modified:
    packages/refdb/trunk/debian/patches/series

Modified: packages/refdb/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/refdb/trunk/debian/patches/series?rev=2116&op=diff
==============================================================================
--- packages/refdb/trunk/debian/patches/series (original)
+++ packages/refdb/trunk/debian/patches/series Thu Dec 13 14:56:36 2012
@@ -1,7 +1,7 @@
+fixbatikrast.patch
 #fixsvn.patch
 fixcomp.patch
 removegetopt.patch
 fixversion.patch
 #fix-doc-installation.patch
 fix-underlinking.patch
-fixbatikrast.patch

Added: packages/refdb/trunk/debian/refdb-www.postinst
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/refdb/trunk/debian/refdb-www.postinst?rev=2116&op=file
==============================================================================
--- packages/refdb/trunk/debian/refdb-www.postinst (added)
+++ packages/refdb/trunk/debian/refdb-www.postinst Thu Dec 13 14:56:36 2012
@@ -1,0 +1,15 @@
+#!/bin/bash
+
+set -e
+
+#DEBHELPER#
+
+if [ "$1" != "configure" -a "$1" != "purge" ]; then
+  exit 0
+fi
+
+if [ -e /etc/apache2/apache2.conf ]; then
+  a2enmod refdb || true
+fi
+
+exit 0

Added: packages/refdb/trunk/debian/refdb-www.prerm
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/refdb/trunk/debian/refdb-www.prerm?rev=2116&op=file
==============================================================================
--- packages/refdb/trunk/debian/refdb-www.prerm (added)
+++ packages/refdb/trunk/debian/refdb-www.prerm Thu Dec 13 14:56:36 2012
@@ -1,0 +1,15 @@
+#!/bin/bash
+
+set -e
+
+#DEBHELPER#
+
+if [ "$1" != "remove" -a "$1" != "purge" ]; then
+  exit 0
+fi
+
+if [ -e /etc/apache2/apache2.conf ]; then
+  a2dismod refdb || true
+fi
+
+exit 0




More information about the debian-xml-sgml-commit mailing list