Browse Source

Make server.source variable truly optional.

clean-build-dependencies
Jakub Josef 6 years ago
parent
commit
a4827acf38
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      home_assistant/server.sls

+ 2
- 2
home_assistant/server.sls View File

{%- if server.source is defined and server.source.get("engine", "git") %} {%- if server.source is defined and server.source.get("engine", "git") %}
- editable: git+{{ server.source.address }}@{{ server.source.version }}#egg=homeassistant - editable: git+{{ server.source.address }}@{{ server.source.version }}#egg=homeassistant
{%- else %} {%- else %}
- name: homeassistant{%- if server.source.version is defined %}=={{ server.source.version }}{%- endif %}
- name: homeassistant{%- if server.get('source', {}).version is defined %}=={{ server.source.version }}{%- endif %}
{%- endif %} {%- endif %}
- pre_releases: True - pre_releases: True
- bin_env: {{ server.dir.base }} - bin_env: {{ server.dir.base }}


{%- endif %} {%- endif %}


{%- endif %}
{%- endif %}

Loading…
Cancel
Save