From d5efcb359f948d318ee35c747fb5a2b424ea7334 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Thu, 2 Aug 2012 14:21:19 +0100 Subject: [PATCH] Use set -x not set -e by default for postinst, to avoid dpkg bailing --- debian/postinst | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/debian/postinst b/debian/postinst index 4fef8faeb..6426484c9 100755 --- a/debian/postinst +++ b/debian/postinst @@ -1,14 +1,10 @@ #!/bin/bash #postinst script for airtime -set -e +set -x . /usr/share/debconf/confmodule -if [ "$DPKG_DEBUG" = "developer" ]; then - set -x -fi - wwwdir="/usr/share/airtime" tmpdir="/var/lib/airtime/tmp" configdir="/etc/airtime" @@ -16,7 +12,7 @@ includefile="${configdir}/apache.conf" a2tplfile="${configdir}/apache.vhost.tpl" phpinifile="${configdir}/airtime.ini" OLDVERSION="$2" -NEWVERSION="2.1.3" +NEWVERSION="2.1.4" case "$1" in configure|reconfigure)