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

Commit

Permalink
kiss: swap to git fetch/merge for updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanaraps committed Oct 2, 2019
1 parent 1f1124c commit b8c0422
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kiss
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,8 @@ pkg_updates() {
log "$PWD" "Updating repository"

if [ -w "$PWD" ]; then
git pull
git fetch
git merge
else
log "$PWD" "Need root to update"
sudo git pull
Expand Down

0 comments on commit b8c0422

Please sign in to comment.