kiss: Clean up
This commit is contained in:
parent
0c9d1b7c3b
commit
8558099bb3
8
kiss
8
kiss
|
@ -1265,15 +1265,9 @@ pkg_updates() {
|
||||||
cd "$repo"
|
cd "$repo"
|
||||||
cd "$(git rev-parse --show-toplevel 2>/dev/null)" 2>/dev/null ||:
|
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)" ] || {
|
[ "$(git remote 2>/dev/null)" ] || {
|
||||||
log "$repo" " "
|
log "$repo" " "
|
||||||
printf '%s\n' "No remote, skipping."
|
printf '%s\n' "No remote or not git repository, skipping."
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue