CC-2256 Airtime-upgrade.php does not upgrade the web app

trying to fix daemontools upgrade problems
This commit is contained in:
Naomi 2011-05-17 10:28:56 -04:00
parent 5e2e3dbf05
commit 70355cc364
2 changed files with 6 additions and 6 deletions

View File

@ -46,12 +46,12 @@ if(strcmp($version, "1.8.2") < 0) {
AirtimeInstall::SetAirtimeVersion(AIRTIME_VERSION);
echo PHP_EOL."*** Updating Pypo ***".PHP_EOL;
system("python ".__DIR__."/../python_apps/pypo/install/pypo-install.py");
echo PHP_EOL."*** Updating Recorder ***".PHP_EOL;
system("python ".__DIR__."/../python_apps/show-recorder/install/recorder-install.py");
echo PHP_EOL."*** Updating Pypo ***".PHP_EOL;
system("python ".__DIR__."/../python_apps/pypo/install/pypo-install.py");
echo "******************************* Update Complete *******************************".PHP_EOL;

View File

@ -198,14 +198,14 @@ class AirTimeApiClient(ApiClientInterface):
return False
elif (version[0:3] != AIRTIME_VERSION):
if (verbose):
print 'Airtime version: ' + str(version)
print 'pypo not compatible with this version of Airtime.'
print 'Airtime version found: ' + str(version)
print 'pypo is at version ' +AIRTIME_VERSION+' and is not compatible with this version of Airtime.'
print
return False
else:
if (verbose):
print 'Airtime version: ' + str(version)
print 'pypo is compatible with this version of Airtime.'
print 'pypo is at version ' +AIRTIME_VERSION+' and is compatible with this version of Airtime.'
print
return True