[Pkg-samba-maint] r4057 - trunk/samba/debian
bubulle at alioth.debian.org
bubulle at alioth.debian.org
Tue May 1 05:18:50 UTC 2012
Author: bubulle
Date: 2012-05-01 05:18:50 +0000 (Tue, 01 May 2012)
New Revision: 4057
Modified:
trunk/samba/debian/changelog
trunk/samba/debian/samba-common.config
trunk/samba/debian/samba-common.postrm
trunk/samba/debian/samba.config
trunk/samba/debian/samba.postinst
trunk/samba/debian/samba.postrm
trunk/samba/debian/swat.postinst
trunk/samba/debian/swat.postrm
Log:
Use "set -e" in all maintainer scripts
Modified: trunk/samba/debian/changelog
===================================================================
--- trunk/samba/debian/changelog 2012-05-01 05:12:21 UTC (rev 4056)
+++ trunk/samba/debian/changelog 2012-05-01 05:18:50 UTC (rev 4057)
@@ -5,7 +5,7 @@
server security.
* Build-Depend on debhelper >= 9~ (which is in unstable for a few
months now)
- * Use "set -e" in winbind postrm instead of passing -e in the
+ * Use "set -e" in maintainer scripts instead of passing -e in the
shebang line
* Update Standards to 3.9.3 (checked, no change)
Modified: trunk/samba/debian/samba-common.config
===================================================================
--- trunk/samba/debian/samba-common.config 2012-05-01 05:12:21 UTC (rev 4056)
+++ trunk/samba/debian/samba-common.config 2012-05-01 05:18:50 UTC (rev 4057)
@@ -1,5 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+set -e
# Source debconf library.
. /usr/share/debconf/confmodule
Modified: trunk/samba/debian/samba-common.postrm
===================================================================
--- trunk/samba/debian/samba-common.postrm 2012-05-01 05:12:21 UTC (rev 4056)
+++ trunk/samba/debian/samba-common.postrm 2012-05-01 05:18:50 UTC (rev 4057)
@@ -1,5 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+set -e
if [ "$1" = purge ]; then
rm -rf /etc/samba/ /var/cache/samba/ /var/lib/samba/ /var/run/samba/
if [ -x "`which ucf 2>/dev/null`" ]; then
Modified: trunk/samba/debian/samba.config
===================================================================
--- trunk/samba/debian/samba.config 2012-05-01 05:12:21 UTC (rev 4056)
+++ trunk/samba/debian/samba.config 2012-05-01 05:18:50 UTC (rev 4057)
@@ -1,7 +1,8 @@
-#!/bin/sh -e
+#!/bin/sh
#
#
+set -e
# Source debconf library.
. /usr/share/debconf/confmodule
Modified: trunk/samba/debian/samba.postinst
===================================================================
--- trunk/samba/debian/samba.postinst 2012-05-01 05:12:21 UTC (rev 4056)
+++ trunk/samba/debian/samba.postinst 2012-05-01 05:18:50 UTC (rev 4057)
@@ -1,9 +1,10 @@
-#!/bin/sh -e
+#!/bin/sh
#
# Post-installation script for the Samba package for Debian GNU/Linux
#
#
+set -e
# Handle debconf
. /usr/share/debconf/confmodule
Modified: trunk/samba/debian/samba.postrm
===================================================================
--- trunk/samba/debian/samba.postrm 2012-05-01 05:12:21 UTC (rev 4056)
+++ trunk/samba/debian/samba.postrm 2012-05-01 05:18:50 UTC (rev 4057)
@@ -1,5 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+set -e
if [ "$1" = purge ]; then
rm -rf /var/cache/samba/browse.dat
rm -rf /var/lib/samba/printers/
Modified: trunk/samba/debian/swat.postinst
===================================================================
--- trunk/samba/debian/swat.postinst 2012-05-01 05:12:21 UTC (rev 4056)
+++ trunk/samba/debian/swat.postinst 2012-05-01 05:18:50 UTC (rev 4057)
@@ -1,5 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+set -e
action="$1"
oldversion="$2"
Modified: trunk/samba/debian/swat.postrm
===================================================================
--- trunk/samba/debian/swat.postrm 2012-05-01 05:12:21 UTC (rev 4056)
+++ trunk/samba/debian/swat.postrm 2012-05-01 05:18:50 UTC (rev 4057)
@@ -1,7 +1,6 @@
-#!/bin/sh -e
-#
-#
+#!/bin/sh
+set -e
case "$1" in
purge)
if [ -x /usr/sbin/update-inetd ]; then
More information about the Pkg-samba-maint
mailing list