Update file run_onchange_after_15-install-asdf-packages.tmpl
This commit is contained in:
parent
93fac410b7
commit
7cfa8a623e
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ if [ -f "$ASDF_DIR/asdf.sh" ] && [ -f ~/.tool-versions ]; then
|
||||||
asdf plugin add "$(echo "$TOOL" | sed 's/ .*//')"
|
asdf plugin add "$(echo "$TOOL" | sed 's/ .*//')"
|
||||||
done
|
done
|
||||||
# Only proceed with installation if either DEBUG_MODE is enabled or ~/.cache/megabyte-labs/asdf-install is missing
|
# Only proceed with installation if either DEBUG_MODE is enabled or ~/.cache/megabyte-labs/asdf-install is missing
|
||||||
# Added to save time between tests
|
# Added to save time between tests because PHP takes awhile to install
|
||||||
if [ "$DEBUG_MODE" == 'true' ] || [ ! -f "${XDG_CACHE_HOME:-$HOME/.cache}/megabyte-labs/asdf-install" ]; then
|
if [ "$DEBUG_MODE" == 'true' ] || [ ! -f "${XDG_CACHE_HOME:-$HOME/.cache}/megabyte-labs/asdf-install" ]; then
|
||||||
logg info 'Installing ASDF dependencies derived from `~/.tool-versions` via `asdf install`'
|
logg info 'Installing ASDF dependencies derived from `~/.tool-versions` via `asdf install`'
|
||||||
asdf install || EXIT_CODE=$?
|
asdf install || EXIT_CODE=$?
|
||||||
|
|
Loading…
Reference in a new issue