Skip dotfiles-updatechecker if forced
This commit is contained in:
parent
6b5d5458a9
commit
5e12e759e9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue