misc: nits

This commit is contained in:
Dylan Araps 2021-07-26 08:02:38 +03:00
parent 569554d315
commit 4f4af4aac3
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

4
kiss
View File

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