commit a2ad91ccb77a30819a311705ee850ff7ecce010f
parent 02106cb810f2490fb46880b987f700f416bd7383
Author: Dylan Araps <dylan.araps@gmail.com>
Date: Tue, 17 Mar 2020 10:12:43 +0200
kiss: Fix #125
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kiss b/kiss
@@ -303,7 +303,7 @@ pkg_extract() {
# Only 'tar' archives are currently supported for extraction.
# Any other file-types are simply copied to '$mak_dir' which
# allows for manual extraction.
- *://*.tar.*|*://*.tgz)
+ *://*.tar|*://*.tar.??|*://*.tar.???|*://*.tar.????|*://*.tgz)
decompress "$src_dir/$1/${src##*/}" |
tar xf - --strip-components 1 ||
die "$1" "Couldn't extract ${src##*/}"