Fix if statement, Ansible variable was True
rather than true
.
This commit is contained in:
parent
af13e2c3a4
commit
2c19c63a09
@ -597,7 +597,7 @@
|
|||||||
alias freeze="kill-system"
|
alias freeze="kill-system"
|
||||||
alias system-killer="kill-system"
|
alias system-killer="kill-system"
|
||||||
function_update_sdks: |
|
function_update_sdks: |
|
||||||
if [[ "{{ coding }}" == "true" ]]; then
|
if [[ "$coding" == "true" ]]; then
|
||||||
function update-sdks {
|
function update-sdks {
|
||||||
echo -e "******* Update SDKs *******\n*** Android ***"
|
echo -e "******* Update SDKs *******\n*** Android ***"
|
||||||
yes | sdkmanager --update
|
yes | sdkmanager --update
|
||||||
@ -618,6 +618,11 @@
|
|||||||
rc_common: |
|
rc_common: |
|
||||||
# Fixes "command not found" when using aliases within functions.
|
# Fixes "command not found" when using aliases within functions.
|
||||||
shopt -s expand_aliases
|
shopt -s expand_aliases
|
||||||
|
|
||||||
|
# Variables for conditionals
|
||||||
|
typeset -l coding
|
||||||
|
export coding="{{ coding }}"
|
||||||
|
|
||||||
{{ export_path_additions }}
|
{{ export_path_additions }}
|
||||||
{{ alias_cp }}
|
{{ alias_cp }}
|
||||||
{{ alias_mv }}
|
{{ alias_mv }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user