[Popcon-commits] cvs commit to popularity-contest/debian by ballombe

ballombe at cvs.alioth.debian.org ballombe at cvs.alioth.debian.org
Fri Feb 20 10:38:00 UTC 2009


Update of /cvsroot/popcon/popularity-contest/debian
In directory alioth:/tmp/cvs-serv2116/debian

Modified Files:
	changelog postrm preinst 
Log Message:
add 'set -e' to preinst and postrm.


Index: changelog
===================================================================
RCS file: /cvsroot/popcon/popularity-contest/debian/changelog,v
retrieving revision 1.404
retrieving revision 1.405
diff -u -d -r1.404 -r1.405
--- changelog	19 Feb 2009 20:27:56 -0000	1.404
+++ changelog	20 Feb 2009 10:37:58 -0000	1.405
@@ -12,8 +12,10 @@
     - Updated to reflect move to /etc/cron.daily. Closes: #500431
       Thanks William Dode.
   * FAQ: Fix typo reported by Raphael Geissert. Closes: #496605
+  * debian/preinst, debian/postrm:
+    - Add 'set -e'.
 
- -- Bill Allombert <ballombe at debian.org>  Thu, 19 Feb 2009 21:22:53 +0100
+ -- Bill Allombert <ballombe at debian.org>  Fri, 20 Feb 2009 11:33:21 +0100
 
 popularity-contest (1.46) unstable; urgency=low
 

Index: postrm
===================================================================
RCS file: /cvsroot/popcon/popularity-contest/debian/postrm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- postrm	10 Feb 2004 11:36:46 -0000	1.2
+++ postrm	20 Feb 2009 10:37:58 -0000	1.3
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+set -e
+
 # purge the config file which is created in the postinst script
 if [ "$1" = purge ] ; then
         rm -f /etc/popularity-contest.conf

Index: preinst
===================================================================
RCS file: /cvsroot/popcon/popularity-contest/debian/preinst,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- preinst	7 May 2008 21:52:49 -0000	1.3
+++ preinst	20 Feb 2009 10:37:58 -0000	1.4
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+set -e
+
 case "$1" in
 install|upgrade)
 # Move a conffile without triggering a dpkg question if it was not modified.




More information about the Popcon-commits mailing list