commit 465fc7303cb9408ae66eb3740132cbff70e2692c
parent 8da495564106d5c489340b54a835953e3e67199e
Author: Dylan Araps <dylan.araps@gmail.com>
Date: Wed, 11 Sep 2019 18:04:05 +0300
kiss: Don't error on git repository with no remote
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git 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|'')