[SCM] mpg123/master: debian/*.{postinst,preinst,prerm}

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Tue Mar 27 18:50:15 UTC 2012


The following commit has been merged in the master branch:
commit 3fcd633ee36b2cdadbf4e420c5374c7a06715695
Author: Alessio Treglia <alessio at debian.org>
Date:   Tue Mar 27 20:48:36 2012 +0200

    debian/*.{postinst,preinst,prerm}
    
    - Use set -e in the body of the script rather than passing -s to the shell.

diff --git a/debian/mpg123-oss-3dnow.preinst b/debian/mpg123-oss-3dnow.preinst
index 8705d95..27ae3b5 100644
--- a/debian/mpg123-oss-3dnow.preinst
+++ b/debian/mpg123-oss-3dnow.preinst
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
 
 case "$1" in
 	upgrade)
diff --git a/debian/mpg123.postinst b/debian/mpg123.postinst
index edf4475..03910f3 100644
--- a/debian/mpg123.postinst
+++ b/debian/mpg123.postinst
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
 
 remove_alternative()
 {
diff --git a/debian/mpg123.prerm b/debian/mpg123.prerm
index 3460733..ea36180 100644
--- a/debian/mpg123.prerm
+++ b/debian/mpg123.prerm
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
 
 case "$1" in
   upgrade) ;;

-- 
mpg123 packaging



More information about the pkg-multimedia-commits mailing list