From 5e12e759e9db6b776e3b0d446ecdf38f0742fb84 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sat, 16 Dec 2023 23:55:05 +0100 Subject: [PATCH] Skip dotfiles-updatechecker if forced --- bin/updater | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/updater b/bin/updater index 755bc78b..b6c3d23e 100755 --- a/bin/updater +++ b/bin/updater @@ -9,7 +9,7 @@ if [ "$STAGE" == "1" ]; then rm -rf "$HOME/.config/.jstm_dotfiles_updater" else echo ":: Checking for updates" - if [ "$(env SCRIPTED=true dotfiles-updatechecker)" == "" ] && [ ! "$1" == "--force" ]; then + if [ ! "$1" == "--force" ] && [ "$(env SCRIPTED=true dotfiles-updatechecker)" == "" ]; then echo ":: No update is available. Use \"--force\" to update anyway." exit 1 fi