forked from kiss-community/kiss
kiss: Clean up
This commit is contained in:
parent
f1b551db4e
commit
8f111e0fc1
10
kiss
10
kiss
@ -1036,15 +1036,9 @@ pkg_updates() {
|
||||
cd "$repo"
|
||||
cd "$(git rev-parse --show-toplevel 2>/dev/null)" 2>/dev/null ||:
|
||||
|
||||
[ -d .git ] || {
|
||||
[ -d .git ] || [ "$(git remote 2>/dev/null)" ] || {
|
||||
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' "Not a git repository or no remote, skipping."
|
||||
continue
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user