function package_handler_update_project

8.0.x wget.inc package_handler_update_project(&$request, $release)
8.0.x git_drupalorg.inc package_handler_update_project($request, $release)
6.x wget.inc package_handler_update_project(&$request, $release)
6.x git_drupalorg.inc package_handler_update_project($request, $release)
7.x wget.inc package_handler_update_project(&$request, $release)
7.x git_drupalorg.inc package_handler_update_project($request, $release)
3.x wget.inc package_handler_update_project(&$project, $release)
3.x cvs.inc package_handler_update_project($project, $release)
4.x wget.inc package_handler_update_project(&$request, $release)
4.x git_drupalorg.inc package_handler_update_project($request, $release)
4.x cvs.inc package_handler_update_project(&$project, $release)
5.x wget.inc package_handler_update_project(&$request, $release)
5.x git_drupalorg.inc package_handler_update_project($request, $release)
master wget.inc package_handler_update_project(&$request, $release)
master git_drupalorg.inc package_handler_update_project($request, $release)

Update a project.

1 call to package_handler_update_project()
pm_update_project in commands/pm/updatecode.pm.inc
Update one project -- a module, theme or Drupal core.

File

commands/pm/package_handler/wget.inc, line 94
Drush PM Wget extension

Code

function package_handler_update_project(&$request, $release) {
  $download_path = package_handler_download_project($request, $release);
  if ($download_path) {
    return drush_move_dir($download_path, $request['full_project_path']);
  }
}