diff --git a/kiss b/kiss index 95eaf32..6e76945 100755 --- a/kiss +++ b/kiss @@ -226,14 +226,11 @@ pkg_list() { pkg_cache() { # Find the tarball of a package using a glob. Use the first found match - # of '[#@].tar.*'. + # of '@.tar.*'. pkg_find_version "$1" set +f - set -f -- "$bin_dir/$1"[#@]"$repo_ver-$repo_rel.tar."* - - [ -f "$2" ] && shift - + set -f -- "$bin_dir/$1@$repo_ver-$repo_rel.tar."* tar_file=$1 [ -f "$1" ]