diff options
author | Guillem Jover <guillem@debian.org> | 2008-12-18 06:39:37 +0000 |
---|---|---|
committer | Guillem Jover <guillem@hadrons.org> | 2010-06-10 23:21:23 +0200 |
commit | 46a243ddda735e68a8e6317132dbf16e9966e17d (patch) | |
tree | 81b88588f8b520d1836d3de664723368eaff3211 | |
parent | a5a4535f26c4b4c04340ce03a937ead68d737738 (diff) | |
download | inetutils-46a243ddda735e68a8e6317132dbf16e9966e17d.tar.gz |
Call 'set -e' in maintainer scripts to guarantee a correct exit status
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/inetutils-ftp.postinst | 2 | ||||
-rw-r--r-- | debian/inetutils-ftp.prerm | 2 | ||||
-rw-r--r-- | debian/inetutils-talk.postinst | 2 | ||||
-rw-r--r-- | debian/inetutils-talk.prerm | 2 | ||||
-rw-r--r-- | debian/inetutils-telnet.postinst | 2 | ||||
-rw-r--r-- | debian/inetutils-telnet.prerm | 2 |
7 files changed, 13 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 15443db..0fa0aa4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,7 @@ inetutils (2:1.5.dfsg.1-9) UNRELEASED; urgency=low * Make the inetutils-inetd init.d script provide inetutils-inetd instead of inetd, to not conflict with other inetd implementations. (Closes: #507121) Thanks to Petter Reinholdtsen <petter.reinholdtsen@usit.uio.no>. + * Call 'set -e' in maintainer scripts to guarantee a correct exit status. -- Guillem Jover <guillem@debian.org> Thu, 18 Dec 2008 07:51:43 +0200 diff --git a/debian/inetutils-ftp.postinst b/debian/inetutils-ftp.postinst index 30c8f01..0d845d0 100644 --- a/debian/inetutils-ftp.postinst +++ b/debian/inetutils-ftp.postinst @@ -1,5 +1,7 @@ #!/bin/sh +set -e + update-alternatives --install /usr/bin/ftp ftp /usr/bin/inetutils-ftp \ 100 --slave /usr/share/man/man1/ftp.1.gz ftp.1.gz \ /usr/share/man/man1/inetutils-ftp.1.gz diff --git a/debian/inetutils-ftp.prerm b/debian/inetutils-ftp.prerm index 69c36fa..14c115b 100644 --- a/debian/inetutils-ftp.prerm +++ b/debian/inetutils-ftp.prerm @@ -1,5 +1,7 @@ #!/bin/sh +set -e + case "$1" in remove|deconfigure) update-alternatives --remove ftp /usr/bin/inetutils-ftp diff --git a/debian/inetutils-talk.postinst b/debian/inetutils-talk.postinst index 4b231e2..ff02c15 100644 --- a/debian/inetutils-talk.postinst +++ b/debian/inetutils-talk.postinst @@ -1,5 +1,7 @@ #!/bin/sh +set -e + update-alternatives --install /usr/bin/talk talk /usr/bin/inetutils-talk \ 100 --slave /usr/share/man/man1/talk.1.gz talk.1.gz \ /usr/share/man/man1/inetutils-talk.1.gz diff --git a/debian/inetutils-talk.prerm b/debian/inetutils-talk.prerm index d9eee35..d40d276 100644 --- a/debian/inetutils-talk.prerm +++ b/debian/inetutils-talk.prerm @@ -1,5 +1,7 @@ #!/bin/sh +set -e + case "$1" in remove|deconfigure) update-alternatives --remove talk /usr/bin/inetutils-talk diff --git a/debian/inetutils-telnet.postinst b/debian/inetutils-telnet.postinst index ffc562d..066e6fe 100644 --- a/debian/inetutils-telnet.postinst +++ b/debian/inetutils-telnet.postinst @@ -1,5 +1,7 @@ #!/bin/sh +set -e + update-alternatives --install /usr/bin/telnet telnet /usr/bin/inetutils-telnet \ 100 --slave /usr/share/man/man1/telnet.1.gz telnet.1.gz \ /usr/share/man/man1/inetutils-telnet.1.gz diff --git a/debian/inetutils-telnet.prerm b/debian/inetutils-telnet.prerm index 6ce41e6..a9cc53c 100644 --- a/debian/inetutils-telnet.prerm +++ b/debian/inetutils-telnet.prerm @@ -1,5 +1,7 @@ #!/bin/sh +set -e + case "$1" in remove|deconfigure) update-alternatives --remove telnet /usr/bin/inetutils-telnet |