[SCM] libav/master: Use "set -e" in the body of the libav-tools maintainer scripts.

fabian-guest at users.alioth.debian.org fabian-guest at users.alioth.debian.org
Mon Oct 14 10:36:06 UTC 2013


The following commit has been merged in the master branch:
commit b3421c797af948274d3c0d0b00ff72952e8f36f5
Author: Fabian Greffrath <fabian+debian at greffrath.com>
Date:   Mon Oct 14 12:37:52 2013 +0200

    Use "set -e" in the body of the libav-tools maintainer scripts.

diff --git a/debian/libav-tools.postinst b/debian/libav-tools.postinst
index d52403b..3764300 100644
--- a/debian/libav-tools.postinst
+++ b/debian/libav-tools.postinst
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
 
 if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then
     dpkg-maintscript-helper mv_conffile /etc/ffserver.conf /etc/avserver.conf 6:0.8.1-7 -- "$@"
diff --git a/debian/libav-tools.postrm b/debian/libav-tools.postrm
index d52403b..3764300 100644
--- a/debian/libav-tools.postrm
+++ b/debian/libav-tools.postrm
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
 
 if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then
     dpkg-maintscript-helper mv_conffile /etc/ffserver.conf /etc/avserver.conf 6:0.8.1-7 -- "$@"
diff --git a/debian/libav-tools.preinst b/debian/libav-tools.preinst
index d52403b..3764300 100644
--- a/debian/libav-tools.preinst
+++ b/debian/libav-tools.preinst
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
 
 if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then
     dpkg-maintscript-helper mv_conffile /etc/ffserver.conf /etc/avserver.conf 6:0.8.1-7 -- "$@"

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list