From 9ea3ceaf5db37b2f657cbafd9eda7cae0fb52fec Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 29 Jun 2021 15:24:55 +0000 Subject: [PATCH] https://github.com/kiss-community/kiss/pull/52 --- kiss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kiss b/kiss index fdb8969..9dc83ce 100755 --- a/kiss +++ b/kiss @@ -1328,7 +1328,11 @@ pkg_updates() { # Update each repository in '$KISS_PATH'. for repo do - # Go to the root of the repository (if it exists). + [ -d "$repo" ] || { + log "$repo" " " + printf 'Skipping repository, not a directory\n' + continue + } cd "$repo" case $(git remote 2>/dev/null) in