cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit 7f17cb307f9afe5196ecc5931e03504bb3392f5c
parent a14643b080910b95c3016a792a50df922255980f
Author: Cem Keylan <cem@ckyln.com>
Date:   Thu, 28 May 2020 16:27:51 +0300

kiss: die if git is missing when a package source requires git

Diffstat:
Mkiss | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/kiss b/kiss @@ -233,6 +233,11 @@ pkg_sources() { # This is a checksums check, skip it. [ "$2" ] && continue + # Since git is an optional dependency, make sure + # it is available on the system. + command -v git >/dev/null 2>&1 || + die "git must be installed in order to acquire ${src##git+}" + mkdir -p "$mak_dir/$1/$dest" # Run in a subshell to keep the variables, path and