mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 08:30:05 -07:00
kiss: set repo_dir sooner
This commit is contained in:
parent
4cb6bbdf51
commit
854a04520d
3
kiss
3
kiss
@ -144,6 +144,7 @@ pkg_find() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
unset IFS
|
unset IFS
|
||||||
|
repo_dir=$1
|
||||||
|
|
||||||
[ "$1" ] || {
|
[ "$1" ] || {
|
||||||
log "Package '$query' not in any repository"
|
log "Package '$query' not in any repository"
|
||||||
@ -152,8 +153,6 @@ pkg_find() {
|
|||||||
|
|
||||||
[ -z "$all" ] ||
|
[ -z "$all" ] ||
|
||||||
printf '%s\n' "$@"
|
printf '%s\n' "$@"
|
||||||
|
|
||||||
repo_dir=$1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_list() (
|
pkg_list() (
|
||||||
|
Loading…
Reference in New Issue
Block a user