Use --disable-deb-check option of install script
This commit is contained in:
parent
b23b9a0cbd
commit
e68a0e463e
|
@ -12,7 +12,7 @@ includefile="${configdir}/apache.conf"
|
||||||
a2tplfile="${configdir}/apache.vhost.tpl"
|
a2tplfile="${configdir}/apache.vhost.tpl"
|
||||||
phpinifile="${configdir}/airtime.ini"
|
phpinifile="${configdir}/airtime.ini"
|
||||||
OLDVERSION="$2"
|
OLDVERSION="$2"
|
||||||
NEWVERSION="2.1.4"
|
NEWVERSION="2.2.0"
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
configure|reconfigure)
|
configure|reconfigure)
|
||||||
|
@ -218,10 +218,10 @@ case "$1" in
|
||||||
|
|
||||||
if [ "${OLDVERSION:0:5}" == "${NEWVERSION}" ] ; then
|
if [ "${OLDVERSION:0:5}" == "${NEWVERSION}" ] ; then
|
||||||
echo "Reinstallation detected..."
|
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
|
else
|
||||||
|
|
||||||
./airtime-install 2> /var/log/airtime/installation-errors.log
|
./airtime-install --disable-deb-check 2> /var/log/airtime/installation-errors.log
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue