1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 00:20:05 -07:00

kiss: set repo_dir sooner

This commit is contained in:
Dylan Araps 2020-09-12 17:33:55 +03:00
parent 4cb6bbdf51
commit 854a04520d
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

3
kiss
View File

@ -144,6 +144,7 @@ pkg_find() {
done
unset IFS
repo_dir=$1
[ "$1" ] || {
log "Package '$query' not in any repository"
@ -152,8 +153,6 @@ pkg_find() {
[ -z "$all" ] ||
printf '%s\n' "$@"
repo_dir=$1
}
pkg_list() (