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:
parent
62a54da1e3
commit
ea6fc726d8
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue