mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-22 07:10:16 -07:00
puke: cleanup
This commit is contained in:
parent
7b19795d13
commit
756a8b45e3
3
puke
3
puke
@ -87,13 +87,12 @@ pkg_extract() {
|
|||||||
|
|
||||||
case $?-$src in
|
case $?-$src in
|
||||||
2-*) cp -f "$src" "$mak_dir" ;;
|
2-*) cp -f "$src" "$mak_dir" ;;
|
||||||
4-*) ;;
|
|
||||||
|
|
||||||
3-*.tar*)
|
3-*.tar*)
|
||||||
tar xf "$src_dir/${src##*/}" -C "$mak_dir" --strip-components 1 ||
|
tar xf "$src_dir/${src##*/}" -C "$mak_dir" --strip-components 1 ||
|
||||||
die "Couldn't extract ${src##*/}" ;;
|
die "Couldn't extract ${src##*/}" ;;
|
||||||
|
|
||||||
*) die "${src##*/} not found."
|
[01]-*) die "${src##*/} not found."
|
||||||
esac
|
esac
|
||||||
done < sources
|
done < sources
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user