From 703c0e81829a2a3a53098ee43b5f65f838a51213 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Tue, 11 Jun 2019 09:29:25 +0200 Subject: [PATCH] Updated if update running --- bin/update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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