diff --git a/justfile b/justfile index f5dbea1..21bda8a 100644 --- a/justfile +++ b/justfile @@ -20,7 +20,8 @@ install-precommit: # Update the Quarto seedcase-theme extension update-quarto-theme: - quarto add seedcase-project/seedcase-theme --no-prompt + # Add theme if it doesn't exist, update if it does + quarto update seedcase-project/seedcase-theme --no-prompt # Update files in the template from the copier parent folder update-template: diff --git a/template/justfile.jinja b/template/justfile.jinja index ac39c56..805feac 100644 --- a/template/justfile.jinja +++ b/template/justfile.jinja @@ -28,7 +28,8 @@ install-precommit: {%- if is_seedcase_project %} # Update the Quarto seedcase-theme extension update-quarto-theme: - quarto add seedcase-project/seedcase-theme --no-prompt + # Add theme if it doesn't exist, update if it does + quarto update seedcase-project/seedcase-theme --no-prompt {%- endif %} # Install Python package dependencies