[SCM] libav/ubuntu: Don't ignore errors in maintainer scripts.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 10 10:04:24 UTC 2012


The following commit has been merged in the ubuntu branch:
commit 8030994273bf9514e3a7ba733f1b875a9d4253fa
Author: Andres Mejia <amejia004 at gmail.com>
Date:   Tue May 1 21:52:02 2012 -0400

    Don't ignore errors in maintainer scripts.
    
    (cherry picked from commit 88ded4d995f9ba5317faf36a3cec1d6a469e6344)
    
    Signed-off-by: Reinhard Tartler <siretart at tauware.de>

diff --git a/debian/libav-tools.postinst b/debian/libav-tools.postinst
index da32841..fa01cf6 100644
--- a/debian/libav-tools.postinst
+++ b/debian/libav-tools.postinst
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -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 da32841..fa01cf6 100644
--- a/debian/libav-tools.postrm
+++ b/debian/libav-tools.postrm
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -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 da32841..fa01cf6 100644
--- a/debian/libav-tools.preinst
+++ b/debian/libav-tools.preinst
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -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