diff --git a/bin/update b/bin/update index 87a4361..a3a0969 100755 --- a/bin/update +++ b/bin/update @@ -96,7 +96,7 @@ _check_date() { local old_date=`cat ~/.config/dotfiles/.data/update_date` local new_date=`date $1` - if [ "$new_date" != "$old_date" ]; then + if [ "$new_date" != "$old_date" ] && [ ! -f ~/.config/dotfiles/.data/update_lock ]; then _sentence not_updated elif [ "$UPDATE_CHECK_ALWAYS" = "true" ] || [ "$2" = "force" ]; then _sentence updated