Updated if update running

This commit is contained in:
Thomas Forgione 2019-06-11 09:29:25 +02:00
parent 4d87c0bde9
commit 703c0e8182
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
1 changed files with 1 additions and 1 deletions

View File

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