[Logcheck-commits] Frédéric Brière : Adding debhelper' s empty preinst script to logcheck-database

Frédéric Brière fbriere-guest at alioth.debian.org
Mon Aug 24 00:28:40 UTC 2009


Module: logcheck
Branch: master
Commit: 0030bcc248c1444a766c60387caf9c3cd28bdb8c
URL:    http://git.debian.org/?p=logcheck/logcheck.git;a=commit;h=0030bcc248c1444a766c60387caf9c3cd28bdb8c

Author: Frédéric Brière <fbriere at fbriere.net>
Date:   Sun Aug 23 15:41:37 2009 -0400

Adding debhelper's empty preinst script to logcheck-database

---

 debian/logcheck-database.preinst |   35 +++++++++++++++++++++++++++++++++++
 1 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/debian/logcheck-database.preinst b/debian/logcheck-database.preinst
new file mode 100644
index 0000000..3ff092e
--- /dev/null
+++ b/debian/logcheck-database.preinst
@@ -0,0 +1,35 @@
+#!/bin/sh
+# preinst script for logcheck-database
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <new-preinst> `install'
+#        * <new-preinst> `install' <old-version>
+#        * <new-preinst> `upgrade' <old-version>
+#        * <old-preinst> `abort-upgrade' <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    install|upgrade)
+    ;;
+
+    abort-upgrade)
+    ;;
+
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0




More information about the Logcheck-commits mailing list