Browse Source

Added 'set -e' to maintainer scripts.

debian/1.8.y
Eugene V. Lyubimkin 14 years ago
parent
commit
0c96f6dfdc
  1. 3
      debian/changelog
  2. 2
      debian/postrm
  3. 2
      debian/preinst
  4. 2
      debian/prerm

3
debian/changelog

@ -17,6 +17,9 @@ apt (0.7.17) unstable; urgency=low
* debian/libapt-pkg-doc.doc-base.*:
- Changed section: from old 'Devel' to 'Debian'. This fixes appropriate
lintian warnings.
* debian/{postrm,prerm,preinst}:
- Added 'set -e', fixes lintian warnings
'maintainer-script-ignores-error'.
-- Eugene V. Lyubimkin <jackyf.devel@gmail.com> Fri, 24 Oct 2008 23:45:17 +0300

2
debian/postrm

@ -8,6 +8,8 @@
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
set -e
#DEBHELPER#
case "$1" in

2
debian/preinst

@ -1,5 +1,7 @@
#! /bin/sh
set -e
# dpkg does this for us while we are upgrading..
#if [ "$1" = "upgrade" -a -L /var/state/apt -a -e /var/lib/apt -a ! -L /var/state/apt ] && dpkg --compare-versions "$2" ">=" "0.4.10"; then
# rm /var/state/apt

2
debian/prerm

@ -1,5 +1,7 @@
#! /bin/sh
set -e
#DEBHELPER#
if [ "$1" = "upgrade" -o "$1" = "failed-upgrade" ] &&

Loading…
Cancel
Save