summaryrefslogtreecommitdiff
path: root/debian/preinst
diff options
context:
space:
mode:
authorEugene V. Lyubimkin <jackyf@1501-debian>2008-10-29 23:17:01 +0200
committerEugene V. Lyubimkin <jackyf@1501-debian>2008-10-29 23:17:01 +0200
commit0c96f6dfdc1cb3a64b1be05bb192463d1601edc0 (patch)
treedb9e45c8330add14b4aa8e8f83a33f5f11034497 /debian/preinst
parent7b4159cf2a4b7de10622c7e4e29247067358a3ab (diff)
Added 'set -e' to maintainer scripts.
Diffstat (limited to 'debian/preinst')
-rwxr-xr-xdebian/preinst2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/preinst b/debian/preinst
index 276eae5de..985ad9b84 100755
--- a/debian/preinst
+++ b/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