From 16e40cb0fa80714fd674de54ad8aa25f4ca27740 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 12 May 2020 08:11:11 +0300 Subject: [PATCH] kiss: tarball must be full path. Closes #149' --- kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiss b/kiss index 217b574..44428a4 100755 --- a/kiss +++ b/kiss @@ -1185,7 +1185,7 @@ pkg_install() { # Install can also take the full path to a tarball. # We don't need to check the repository if this is the case. - if [ -f "$1" ] && [ -z "${1%%*.tar.*}" ] ; then + if [ -f "$1" ] && [ -z "${1%%*.tar.*}" ] && [ -z "${1##*/*}" ]; then tar_file=$1 pkg_name=${1##*/} pkg_name=${pkg_name%#*} elif pkg_cache "$1" 2>/dev/null; then