aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-04-30 07:56:43 +0000
committermerakor <cem@ckyln.com>2020-04-30 07:56:43 +0000
commite6f0ddfaf5e98a09786f7d078863334befaedc85 (patch)
tree15d2ecb79924971f5b09eaf6ffb3b4336fd5de9f
parent74314279ca5a052bd31cc5db5b386b3531da2177 (diff)
downloadcpt-e6f0ddfaf5e98a09786f7d078863334befaedc85.tar.gz
kiss: accept decompressed tar archives as well.
FossilOrigin-Name: c3f59ab2dfeecbbebffb8680261a0b7b408d7f346c18f68f1362268635d2bfea
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index d471b2d..d9feeea 100755
--- 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%#*}