r51439 - in /scripts/examples/hooks: ./ B05twice C10shell D10-man-db
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sun Jan 24 15:04:18 UTC 2010
Author: gregoa
Date: Sun Jan 24 15:04:01 2010
New Revision: 51439
URL: http://svn.debian.org/wsvn/?sc=1&rev=51439
Log:
add (p|cow)puilder hooks
Added:
scripts/examples/hooks/
scripts/examples/hooks/B05twice (with props)
scripts/examples/hooks/C10shell (with props)
scripts/examples/hooks/D10-man-db (with props)
Added: scripts/examples/hooks/B05twice
URL: http://svn.debian.org/wsvn/scripts/examples/hooks/B05twice?rev=51439&op=file
==============================================================================
--- scripts/examples/hooks/B05twice (added)
+++ scripts/examples/hooks/B05twice Sun Jan 24 15:04:01 2010
@@ -1,0 +1,12 @@
+#! /bin/bash
+# Build the package again to test for errors on double build
+
+if [ "$DOUBLE" = "yes" ] ; then
+ echo "I: building the package again"
+ for DIR in $(ls -d /tmp/buildd/*/) ; do
+ cd ${DIR}
+ dpkg-buildpackage -tc
+ done
+else
+ echo "I: Set DOUBLE=yes to enable double build."
+fi
Propchange: scripts/examples/hooks/B05twice
------------------------------------------------------------------------------
svn:executable = *
Added: scripts/examples/hooks/C10shell
URL: http://svn.debian.org/wsvn/scripts/examples/hooks/C10shell?rev=51439&op=file
==============================================================================
--- scripts/examples/hooks/C10shell (added)
+++ scripts/examples/hooks/C10shell Sun Jan 24 15:04:01 2010
@@ -1,0 +1,6 @@
+#!/bin/bash
+# invoke shell if build fails.
+
+apt-get install -y --force-yes less joe
+cd /tmp/buildd/*/debian/..
+/bin/bash < /dev/tty > /dev/tty 2> /dev/tty
Propchange: scripts/examples/hooks/C10shell
------------------------------------------------------------------------------
svn:executable = *
Added: scripts/examples/hooks/D10-man-db
URL: http://svn.debian.org/wsvn/scripts/examples/hooks/D10-man-db?rev=51439&op=file
==============================================================================
--- scripts/examples/hooks/D10-man-db (added)
+++ scripts/examples/hooks/D10-man-db Sun Jan 24 15:04:01 2010
@@ -1,0 +1,7 @@
+#!/bin/sh
+# Don't rebuild man-db
+
+echo "I: Preseed man-db/auto-update to false"
+debconf-set-selections <<EOF
+man-db man-db/auto-update boolean false
+EOF
Propchange: scripts/examples/hooks/D10-man-db
------------------------------------------------------------------------------
svn:executable = *
More information about the Pkg-perl-cvs-commits
mailing list