From 465fc7303cb9408ae66eb3740132cbff70e2692c Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 11 Sep 2019 18:04:05 +0300 Subject: [PATCH] kiss: Don't error on git repository with no remote --- kiss | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/kiss b/kiss index ce4e18b..d9347dc 100755 --- a/kiss +++ b/kiss @@ -764,6 +764,11 @@ pkg_updates() { continue } + [ "$(git remote 2>/dev/null)" ] || { + log "[$repo] No remote, skipping" + continue + } + case $repos in # If the repository has already been updated, skip it. *" $PWD "*) ;; @@ -967,7 +972,7 @@ args() { ;; v|version|-v|--version) - printf 'kiss 0.20.0\n' + printf 'kiss 0.20.1\n' ;; h|help|-h|--help|'')