Updated if update running
This commit is contained in:
parent
4d87c0bde9
commit
703c0e8182
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue