mirror of
https://codeberg.org/kiss-community/kiss
synced 2025-01-11 13:20:06 -07:00
kiss: Fix #125
This commit is contained in:
parent
02106cb810
commit
a2ad91ccb7
2
kiss
2
kiss
@ -303,7 +303,7 @@ pkg_extract() {
|
|||||||
# Only 'tar' archives are currently supported for extraction.
|
# Only 'tar' archives are currently supported for extraction.
|
||||||
# Any other file-types are simply copied to '$mak_dir' which
|
# Any other file-types are simply copied to '$mak_dir' which
|
||||||
# allows for manual extraction.
|
# allows for manual extraction.
|
||||||
*://*.tar.*|*://*.tgz)
|
*://*.tar|*://*.tar.??|*://*.tar.???|*://*.tar.????|*://*.tgz)
|
||||||
decompress "$src_dir/$1/${src##*/}" |
|
decompress "$src_dir/$1/${src##*/}" |
|
||||||
tar xf - --strip-components 1 ||
|
tar xf - --strip-components 1 ||
|
||||||
die "$1" "Couldn't extract ${src##*/}"
|
die "$1" "Couldn't extract ${src##*/}"
|
||||||
|
Loading…
Reference in New Issue
Block a user