mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-07-02 22:12:26 +00:00
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 "$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 ] || {
|
[ -d .git ] || [ "$(git remote 2>/dev/null)" ] || {
|
||||||
log "$repo" " "
|
log "$repo" " "
|
||||||
printf '%s\n' "Not a git repository, skipping."
|
printf '%s\n' "Not a git repository or no remote, skipping."
|
||||||
continue
|
|
||||||
}
|
|
||||||
|
|
||||||
[ "$(git remote 2>/dev/null)" ] || {
|
|
||||||
log "$repo" " "
|
|
||||||
printf '%s\n' "No remote, skipping."
|
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user