parent
73c0408315
commit
2f1033ecb8
|
@ -73,7 +73,6 @@ SCRIPTPATH=`dirname $SCRIPT`
|
||||||
AIRTIMEROOT=$SCRIPTPATH/../
|
AIRTIMEROOT=$SCRIPTPATH/../
|
||||||
|
|
||||||
# Check if airtime exists already
|
# Check if airtime exists already
|
||||||
echo "* Checking for existing Airtime installation..."
|
|
||||||
set +e
|
set +e
|
||||||
php --php-ini ${SCRIPTPATH}/airtime-php.ini ${SCRIPTPATH}/include/airtime-installed-check.php
|
php --php-ini ${SCRIPTPATH}/airtime-php.ini ${SCRIPTPATH}/include/airtime-installed-check.php
|
||||||
result=$?
|
result=$?
|
||||||
|
|
|
@ -20,7 +20,7 @@ AirtimeInstall::ExitIfNotRoot();
|
||||||
|
|
||||||
$version = AirtimeInstall::GetVersionInstalled();
|
$version = AirtimeInstall::GetVersionInstalled();
|
||||||
// The current version is already installed.
|
// The current version is already installed.
|
||||||
echo "* Checking for existing install of Airtime...".PHP_EOL;
|
echo "* Checking for existing Airtime installation...".PHP_EOL;
|
||||||
if (isset($version)){
|
if (isset($version)){
|
||||||
if ($version === false){
|
if ($version === false){
|
||||||
//version of Airtime older than 1.7.0 detected
|
//version of Airtime older than 1.7.0 detected
|
||||||
|
|
Loading…
Reference in New Issue