aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss6
1 files changed, 6 insertions, 0 deletions
diff --git a/kiss b/kiss
index 1456fbf..6abd32b 100755
--- a/kiss
+++ b/kiss
@@ -1236,6 +1236,12 @@ pkg_fetch() {
if [ -d .git ]; then
+ command -v git >/dev/null || {
+ log "$repo" " "
+ printf '%s\n' "Git is not installed, skipping."
+ continue
+ }
+
[ "$(git remote 2>/dev/null)" ] || {
log "$repo" " "
printf '%s\n' "No remote, skipping."