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