r116 - mdadm/trunk/debian
madduck at users.alioth.debian.org
madduck at users.alioth.debian.org
Sun Aug 20 13:20:44 UTC 2006
Author: madduck
Date: 2006-08-20 13:20:43 +0000 (Sun, 20 Aug 2006)
New Revision: 116
Modified:
mdadm/trunk/debian/bugscript
mdadm/trunk/debian/checkarray
mdadm/trunk/debian/mdadm-name-generator.sh
mdadm/trunk/debian/mdadm-raid
mdadm/trunk/debian/mdadm.config
mdadm/trunk/debian/mdadm.init
mdadm/trunk/debian/mdadm.postinst
mdadm/trunk/debian/mdadm.postrm
mdadm/trunk/debian/mdadm.preinst
mdadm/trunk/debian/mkconf
Log:
set -eu instead of shebang line
Modified: mdadm/trunk/debian/bugscript
===================================================================
--- mdadm/trunk/debian/bugscript 2006-08-20 13:06:56 UTC (rev 115)
+++ mdadm/trunk/debian/bugscript 2006-08-20 13:20:43 UTC (rev 116)
@@ -1,4 +1,4 @@
-#!/bin/sh -eu
+#!/bin/sh
#
# mdadm bug submission control script
#
@@ -10,6 +10,8 @@
# $Id$
#
+set -eu
+
if [ ! -r /proc/mdstat ]; then
echo "The local system does not have RAID support (no drivers loaded)."
echo "Without RAID support, I cannot collect as much information as I'd like."
Modified: mdadm/trunk/debian/checkarray
===================================================================
--- mdadm/trunk/debian/checkarray 2006-08-20 13:06:56 UTC (rev 115)
+++ mdadm/trunk/debian/checkarray 2006-08-20 13:20:43 UTC (rev 116)
@@ -1,4 +1,4 @@
-#!/bin/sh -eu
+#!/bin/sh
#
# checkarray -- initiates a check run of an array's redundancy information.
#
@@ -8,6 +8,8 @@
# $Id$
#
+set -eu
+
PROGNAME=${0##*/}
about()
Modified: mdadm/trunk/debian/mdadm-name-generator.sh
===================================================================
--- mdadm/trunk/debian/mdadm-name-generator.sh 2006-08-20 13:06:56 UTC (rev 115)
+++ mdadm/trunk/debian/mdadm-name-generator.sh 2006-08-20 13:20:43 UTC (rev 116)
@@ -1,4 +1,4 @@
-#!/bin/sh -eu
+#!/bin/sh
#
# mdadm-name-generator.sh -- determines the md node name to be used by udev
#
@@ -23,6 +23,8 @@
# $Id: mkconf 89 2006-08-08 09:33:05Z madduck $
#
+set -eu
+
case "$1" in
md*) :;;
'')
Modified: mdadm/trunk/debian/mdadm-raid
===================================================================
--- mdadm/trunk/debian/mdadm-raid 2006-08-20 13:06:56 UTC (rev 115)
+++ mdadm/trunk/debian/mdadm-raid 2006-08-20 13:20:43 UTC (rev 116)
@@ -1,4 +1,4 @@
-#!/bin/sh -eu
+#!/bin/sh
#
# Start all arrays specified in the configuration file.
#
@@ -9,6 +9,8 @@
# $Id$
#
+set -eu
+
MDADM=/sbin/mdadm
CONFIG=/etc/mdadm/mdadm.conf
ALTCONFIG=/etc/mdadm.conf
Modified: mdadm/trunk/debian/mdadm.config
===================================================================
--- mdadm/trunk/debian/mdadm.config 2006-08-20 13:06:56 UTC (rev 115)
+++ mdadm/trunk/debian/mdadm.config 2006-08-20 13:20:43 UTC (rev 116)
@@ -1,4 +1,4 @@
-#!/bin/sh -eu
+#!/bin/sh
# Copyright © 2001-2004 Mario Jou/3en <joussen at debian.org>
# Copyright © martin f. krafft <madduck at debian.org>
# Distributable under the terms of the GNU GPL version 2.
@@ -6,9 +6,9 @@
# $Id$
#
-set +u # workaround for #369953
. /usr/share/debconf/confmodule
-set -u
+# see #369953 for ordering
+set -eu
CONFIG=/etc/mdadm/mdadm.conf
ALTCONFIG=/etc/mdadm.conf
Modified: mdadm/trunk/debian/mdadm.init
===================================================================
--- mdadm/trunk/debian/mdadm.init 2006-08-20 13:06:56 UTC (rev 115)
+++ mdadm/trunk/debian/mdadm.init 2006-08-20 13:20:43 UTC (rev 116)
@@ -1,4 +1,4 @@
-#!/bin/sh -eu
+#!/bin/sh
#
# Start the RAID monitor daemon for all active md arrays if desired.
#
@@ -9,6 +9,8 @@
# $Id$
#
+set -eu
+
MDADM=/sbin/mdadm
RUNDIR=/var/run/mdadm
PIDFILE=$RUNDIR/monitor.pid
Modified: mdadm/trunk/debian/mdadm.postinst
===================================================================
--- mdadm/trunk/debian/mdadm.postinst 2006-08-20 13:06:56 UTC (rev 115)
+++ mdadm/trunk/debian/mdadm.postinst 2006-08-20 13:20:43 UTC (rev 116)
@@ -1,4 +1,4 @@
-#!/bin/sh -eu
+#!/bin/sh
# Copyright © 2001-2005 Mario Jou/3en <joussen at debian.org>
# Copyright © 2005-2006 Martin F. Krafft <madduck at debian.org>
# Distributable under the terms of the GNU GPL version 2.
@@ -6,6 +6,8 @@
# $Id$
#
+set -eu
+
if [ "${1:-}" = "configure" ]; then
set +u # debconf workaround. See #369953
Modified: mdadm/trunk/debian/mdadm.postrm
===================================================================
--- mdadm/trunk/debian/mdadm.postrm 2006-08-20 13:06:56 UTC (rev 115)
+++ mdadm/trunk/debian/mdadm.postrm 2006-08-20 13:20:43 UTC (rev 116)
@@ -1,4 +1,4 @@
-#! /bin/sh -eu
+#! /bin/sh
# Copyright © 2001,2002 Mario Jou/3en <joussen at debian.org>
# Copyright © 2006 Martin F. Krafft <madduck at debian.org>
# Distributable under the terms of the GNU GPL version 2.
@@ -6,6 +6,8 @@
# $Id$
#
+set -eu
+
case "${1:-}" in
remove)
if command -v update-initramfs >/dev/null; then
Modified: mdadm/trunk/debian/mdadm.preinst
===================================================================
--- mdadm/trunk/debian/mdadm.preinst 2006-08-20 13:06:56 UTC (rev 115)
+++ mdadm/trunk/debian/mdadm.preinst 2006-08-20 13:20:43 UTC (rev 116)
@@ -1,10 +1,12 @@
-#!/bin/sh -eu
+#!/bin/sh
# Copyright © martin f. krafft <madduck at debian.org>
# Distributed under the terms of the Artistic Licence 2.0
#
# $Id$
#
+set -eu
+
case "$1" in
upgrade|install)
Modified: mdadm/trunk/debian/mkconf
===================================================================
--- mdadm/trunk/debian/mkconf 2006-08-20 13:06:56 UTC (rev 115)
+++ mdadm/trunk/debian/mkconf 2006-08-20 13:20:43 UTC (rev 116)
@@ -1,4 +1,4 @@
-#!/bin/sh -eu
+#!/bin/sh
#
# mkconf -- outputs valid mdadm.conf contents for the local system
#
@@ -8,6 +8,8 @@
# $Id$
#
+set -eu
+
MDADM=/sbin/mdadm
DEBIANCONFIG=/etc/default/mdadm
More information about the pkg-mdadm-commits
mailing list