kiss: clean up

This commit is contained in:
Dylan Araps 2019-09-11 08:10:46 +03:00
parent ff80aa1984
commit 2fa6d29f16

4
kiss
View File

@ -132,7 +132,7 @@ pkg_sources() {
}
;;
# Local files (sources that are non-remote are assumed to be local).
# Local source.
*)
[ -f "$repo_dir/$src" ] || die "[$1] No local file '$src'"
@ -161,7 +161,7 @@ pkg_extract() {
|| die "[$1] Couldn't extract ${src##*/}"
;;
# Local files (Any non-remote source is assumed to be local).
# Local source.
*)
if [ -f "$repo_dir/$src" ]; then
cp -f "$repo_dir/$src" .