forked from kiss-community/kiss
kiss: Don't error on git repository with no remote
This commit is contained in:
parent
8da4955641
commit
465fc7303c
7
kiss
7
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|'')
|
||||
|
Loading…
Reference in New Issue
Block a user