Author: fabbione
Date: 2004-11-02 06:21:14 -0500 (Tue, 02 Nov 2004)
New Revision: 2004

Modified:
   trunk/debian/CHANGESETS
   trunk/debian/changelog
   trunk/debian/rules
Log:
Add simple sanity check on generated maintainer scripts.


Modified: trunk/debian/CHANGESETS
===================================================================
--- trunk/debian/CHANGESETS     2004-11-02 07:04:06 UTC (rev 2003)
+++ trunk/debian/CHANGESETS     2004-11-02 11:21:14 UTC (rev 2004)
@@ -221,4 +221,7 @@
 Tidy up and make consistent all Debian-specific manpages.
     1964, 2002
 
+Add simple sanity check on generated maintainer scripts.
+    2004
+
 vim:set ai et sts=4 sw=4 tw=80:

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2004-11-02 07:04:06 UTC (rev 2003)
+++ trunk/debian/changelog      2004-11-02 11:21:14 UTC (rev 2004)
@@ -186,6 +186,8 @@
 
   * Fix nl_BE locale alias information.
 
+  * Add simple sanity check on generated maintainer scripts.
+
  -- Branden Robinson <[EMAIL PROTECTED]>  Sun, 31 Oct 2004 02:22:48 -0500
 
 xfree86 (4.3.0.dfsg.1-8) unstable; urgency=high

Modified: trunk/debian/rules
===================================================================
--- trunk/debian/rules  2004-11-02 07:04:06 UTC (rev 2003)
+++ trunk/debian/rules  2004-11-02 11:21:14 UTC (rev 2004)
@@ -184,6 +184,12 @@
        # don't forget the templates file, which doesn't need any substitutions
        cp debian/xserver-xfree86.templates \
           debian/xserver-xfree86-dbg.templates
+       
+       # perform simple sanity check on generated maintainer scripts.
+       for FILE in debian/*.config debian/*.postinst debian/*.postrm 
debian/*.preinst debian/*.prerm; do \
+           sh -n "$$FILE"; \
+       done
+
        touch $@
 
 # Rule to generate the shlibs.local file.

Reply via email to