You are here

public function Provision_PlatformGit::validateProvisionVerify in Aegir Deploy 7.3

File

modules/platform_git/drush/Provision/PlatformGit.php, line 27
The Provision_PlatformGit class.

Class

Provision_PlatformGit
@file The Provision_PlatformGit class.

Code

public function validateProvisionVerify() {
  if ($this
    ->pathExists($this->repository_path)) {
    return $this
      ->notice(dt('Platform Git repository path already exists. Aborting.'));
  }
  else {
    return $this
      ->deployPlatform();
  }
}