Merge pull request #59 from unicalabs/upstream

Fix install-composer edge cases
This commit is contained in:
Forrest 2015-09-28 10:51:14 -07:00
commit 9a54fcf5c1

View File

@ -15,9 +15,10 @@ get-composer:
- pkg: php - pkg: php
install-composer: install-composer:
cmd.wait: cmd.run:
- name: {{ php.temp_dir }}/installer --filename={{ php.composer_bin }} --install-dir={{ php.local_bin }} - name: {{ php.temp_dir }}/installer --filename={{ php.composer_bin }} --install-dir={{ php.local_bin }}
- watch: - unless: test -f {{ install_file }}
- require:
- file: get-composer - file: get-composer
# Get COMPOSER_DEV_WARNING_TIME from the installed composer, and if that time has passed # Get COMPOSER_DEV_WARNING_TIME from the installed composer, and if that time has passed