diff options
author | merakor <cem@ckyln.com> | 2020-04-30 07:56:43 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-04-30 07:56:43 +0000 |
commit | e6f0ddfaf5e98a09786f7d078863334befaedc85 (patch) | |
tree | 15d2ecb79924971f5b09eaf6ffb3b4336fd5de9f /kiss | |
parent | 74314279ca5a052bd31cc5db5b386b3531da2177 (diff) | |
download | cpt-e6f0ddfaf5e98a09786f7d078863334befaedc85.tar.gz |
kiss: accept decompressed tar archives as well.
FossilOrigin-Name: c3f59ab2dfeecbbebffb8680261a0b7b408d7f346c18f68f1362268635d2bfea
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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%#*} |