kiss: revert update-resolve

This commit is contained in:
Dylan Araps 2021-07-26 15:09:24 +03:00
parent 03d8f980ac
commit 82d32dc0e3
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 0 additions and 7 deletions

7
kiss
View File

@ -1567,13 +1567,6 @@ pkg_update() {
pkg_update_repo() {
cd "$repo" || die "Repository '$repo' inaccessible"
# Hook can tell the package manager to use a different path.
# arg1: update-resolve
# env: PWD is path to repository
_pwd_res=$(run_hook update-resolve) repo=${_pwd_res:-"$repo"}
cd "$repo" || die "Repository '$repo' inaccessible"
contains "$repos" "$PWD" || {
repos="$repos $PWD"