forked from kiss-community/kiss
kiss: revert update-resolve
This commit is contained in:
parent
03d8f980ac
commit
82d32dc0e3
7
kiss
7
kiss
@ -1567,13 +1567,6 @@ pkg_update() {
|
|||||||
pkg_update_repo() {
|
pkg_update_repo() {
|
||||||
cd "$repo" || die "Repository '$repo' inaccessible"
|
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" || {
|
contains "$repos" "$PWD" || {
|
||||||
repos="$repos $PWD"
|
repos="$repos $PWD"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user