mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 00:20:05 -07:00
kiss: store path once
This commit is contained in:
parent
35be405279
commit
f644275c62
6
kiss
6
kiss
@ -269,10 +269,8 @@ pkg_cache() {
|
|||||||
# method if found or first match of the below glob.
|
# method if found or first match of the below glob.
|
||||||
pkg_find_version "$1"
|
pkg_find_version "$1"
|
||||||
|
|
||||||
set +f
|
set +f -- "$bin_dir/$1@$repo_ver-$repo_rel.tar."
|
||||||
set -f -- \
|
set -f -- "$1$KISS_COMPRESS" "$1"*
|
||||||
"$bin_dir/$1@$repo_ver-$repo_rel.tar.$KISS_COMPRESS" \
|
|
||||||
"$bin_dir/$1@$repo_ver-$repo_rel.tar."*
|
|
||||||
|
|
||||||
tar_file=$1
|
tar_file=$1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user