You are here

function git_deploy_update_7000 in Git Deploy 7

Save current location of glip library.

File

./git_deploy.install, line 85
Checks that site can get version information with Git.

Code

function git_deploy_update_7000() {
  if (!module_exists('libraries')) {
    $glip_path = drupal_get_path('module', 'git_deploy') . '/glip';
    if (file_exists("{$glip_path}/lib/glip.php")) {
      variable_set('git_deploy_glip_path', $glip_path);
    }
  }
}