I am a horrible person

This commit is contained in:
Alex D. 2018-12-24 17:55:28 +01:00
parent 9e89f359b9
commit 2bd3827955
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ function selfupdate {
cd ~/bin || exit
output "info" "Self-updating:"
[ -n $(git diff --name-only origin/master | grep manager) ] && {
git reset --hard origin/master
git reset --hard HEAD
git pull https://github.com/RXCommunity/manager master
} || {
output "info" "Already latest version!"