Use set -x not set -e by default for postinst, to avoid dpkg bailing
This commit is contained in:
parent
f5a7b15a34
commit
d5efcb359f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue