CC-2281 Install script should check for pre-installed versions and prompt user to upgrade/full installation

script prints help menu now if application is at current version
This commit is contained in:
Naomi 2011-05-20 13:01:59 -04:00
parent 62a54da1e3
commit ea6fc726d8
1 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,8 @@ if (isset($opts->h)) {
//the current version exists.
if(isset($version) && $version != false && $version == AIRTIME_VERSION && !isset($opts->r)) {
echo "Airtime $version is already installed.".PHP_EOL;
echo "Airtime $version is already installed.\n".PHP_EOL;
echo $opts->getUsageMessage();
exit();
}
//a previous version exists.