commit 306522fa14cada60f9d8dae6d7fef9cc3b3fc073
parent 8d44f44bc85b74fcac732e8b2516e790d74658e8
Author: Cem Keylan <cem@ckyln.com>
Date: Thu, 30 Apr 2020 10:56:44 +0300
kiss: accept decompressed tar archives as well.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kiss b/kiss
@@ -962,7 +962,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*}" ] ; then
tar_file=$1
pkg_name=${1##*/}
pkg_name=${pkg_name%#*}