diff options
author | Dan McGee <dan@archlinux.org> | 2011-07-22 19:12:18 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-07-27 19:46:15 +0200 |
commit | 9929a34a6d493c94bd176b66198bdbd734678043 (patch) | |
tree | 6ce511c1809183651732d4307aae4ba3c513a17b /scripts/pacman-db-upgrade.sh.in | |
parent | ccdb2fa800f3e89641d371056961fa1d654f363d (diff) | |
download | pacman-9929a34a6d493c94bd176b66198bdbd734678043.tar.gz pacman-9929a34a6d493c94bd176b66198bdbd734678043.tar.xz |
Remove duplicate code shared between sync and upgrade
Pacman did a great job of having almost (but not quite) duplicate code
paths through the sync and upgrade code. We can use the same logic in
both upgrade in sync once the targets are resolved, so extract a
function and delete a bunch of code.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/pacman-db-upgrade.sh.in')
0 files changed, 0 insertions, 0 deletions