2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-21 23:00:06 -07:00

extract: Extend destinationf field to regular files.

This commit is contained in:
Dylan Araps 2019-06-12 21:15:08 +03:00
parent ce0a19fc25
commit 33a1dc58c5

2
puke
View File

@ -66,7 +66,7 @@ pkg_verify() {
pkg_extract() {
while read -r src dest; do
case $(source_type "$src"; echo $?)-$src in
2-*) cp -f "$src" "$mak_dir" ;;
2-*) cp -f "$src" "$mak_dir/$dest" ;;
3-*.tar*)
tar xf "$src_dir/${src##*/}" -C "$mak_dir/$dest" \