Use --disable-deb-check option of install script

This commit is contained in:
Daniel James 2012-08-06 11:34:17 +01:00
parent b23b9a0cbd
commit e68a0e463e
1 changed files with 3 additions and 3 deletions

6
debian/postinst vendored
View File

@ -12,7 +12,7 @@ includefile="${configdir}/apache.conf"
a2tplfile="${configdir}/apache.vhost.tpl"
phpinifile="${configdir}/airtime.ini"
OLDVERSION="$2"
NEWVERSION="2.1.4"
NEWVERSION="2.2.0"
case "$1" in
configure|reconfigure)
@ -218,10 +218,10 @@ case "$1" in
if [ "${OLDVERSION:0:5}" == "${NEWVERSION}" ] ; then
echo "Reinstallation detected..."
echo | ./airtime-install -rp 2> /var/log/airtime/reinstallation-errors.log
echo | ./airtime-install --disable-deb-check -rp 2> /var/log/airtime/reinstallation-errors.log
else
./airtime-install 2> /var/log/airtime/installation-errors.log
./airtime-install --disable-deb-check 2> /var/log/airtime/installation-errors.log
fi