Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
misc: nit
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanaraps committed Jul 24, 2021
1 parent 0547619 commit be67ae5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions kiss
Original file line number Diff line number Diff line change
Expand Up @@ -1543,8 +1543,6 @@ pkg_update() {

# Update each repository in '$KISS_PATH'.
for repo do
repo_type=null

if git -C "$repo" remote >/dev/null 2>&1; then
repo_type=git

Expand All @@ -1554,6 +1552,9 @@ pkg_update() {

elif ! [ -d "$repo" ]; then
continue

else
unset repo_type
fi

pkg_update_repo
Expand All @@ -1568,7 +1569,7 @@ pkg_update_repo() {
contains "$repos" "$PWD" || {
repos="$repos $PWD"

log "Updating" "$PWD"
log "$PWD" ""

am_owner "$PWD" || {
printf 'Need "%s" to update\n' "$user"
Expand Down

0 comments on commit be67ae5

Please sign in to comment.