[Pkg-octave-commit] [SCM] Debian packaging for octave branch, master, updated. debian/3.6.1-5-5-g5ca65f0

Sébastien Villemot sebastien.villemot at ens.fr
Sun May 20 17:24:54 UTC 2012


The following commit has been merged in the master branch:
commit 7fd2bdc89134bc631bc2d6c984ba9ce7272e433b
Author: Sébastien Villemot <sebastien.villemot at ens.fr>
Date:   Sun May 20 16:12:37 2012 +0200

    Use "set -e" in octave.{postinst,prerm}, to make lintian happy

diff --git a/debian/octave.postinst b/debian/octave.postinst
index 6c3b86d..92e78b6 100644
--- a/debian/octave.postinst
+++ b/debian/octave.postinst
@@ -1,7 +1,9 @@
-#!/bin/sh -e
+#!/bin/sh
 #
 # postinst script for the Debian GNU/Linux octave packages
 
+set -e
+
 #DEBHELPER#
 
 rebuild_pkg_database () {
diff --git a/debian/octave.prerm b/debian/octave.prerm
index 6580d61..d7e1e2f 100644
--- a/debian/octave.prerm
+++ b/debian/octave.prerm
@@ -1,9 +1,11 @@
-#!/bin/sh -e
+#!/bin/sh
 #
 # prerm script for the Debian GNU/Linux octave package
 #
 # Originally written by Dirk Eddelbuettel <edd at debian.org>
 
+set -e
+
 #DEBHELPER#
 
 # Remove the packages database file

-- 
Debian packaging for octave



More information about the Pkg-octave-commit mailing list