kiss: swap to git fetch/merge for updates

This commit is contained in:
Dylan Araps 2019-10-02 20:46:35 +03:00
parent 1f1124c251
commit b8c04223dc
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 2 additions and 1 deletions

3
kiss
View File

@ -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