kiss: checkout output of git remote. See #269

This commit is contained in:
Dylan Araps 2021-09-07 16:58:59 +03:00
parent fd8cfe1c69
commit 60c32c5fa2
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 1 additions and 1 deletions

2
kiss
View File

@ -1587,7 +1587,7 @@ pkg_update() {
# Update each repository in '$KISS_PATH'.
for repo do
if git -C "$repo" remote >/dev/null 2>&1; then
if ok "$(git -C "$repo" remote 2>/dev/null)"; then
repo_type=git
# Get the Git repository root directory.