kiss: Clean up

This commit is contained in:
Dylan Araps 2020-05-21 11:32:32 +03:00
parent 0c9d1b7c3b
commit 8558099bb3
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 1 additions and 7 deletions

8
kiss
View File

@ -1265,15 +1265,9 @@ pkg_updates() {
cd "$repo"
cd "$(git rev-parse --show-toplevel 2>/dev/null)" 2>/dev/null ||:
[ -d .git ] || {
log "$repo" " "
printf '%s\n' "Not a git repository, skipping."
continue
}
[ "$(git remote 2>/dev/null)" ] || {
log "$repo" " "
printf '%s\n' "No remote, skipping."
printf '%s\n' "No remote or not git repository, skipping."
continue
}