Fix edge case with install-composer which results in composer not being installed/reinstalled due to the state of get-composer not changing.
This commit is contained in:
parent
ee6a24419e
commit
2567557fac
@ -15,9 +15,10 @@ get-composer:
|
||||
- pkg: php
|
||||
|
||||
install-composer:
|
||||
cmd.wait:
|
||||
cmd.run:
|
||||
- name: {{ php.temp_dir }}/installer --filename={{ php.composer_bin }} --install-dir={{ php.local_bin }}
|
||||
- watch:
|
||||
- unless: test -f {{ install_file }}
|
||||
- require:
|
||||
- file: get-composer
|
||||
|
||||
# Get COMPOSER_DEV_WARNING_TIME from the installed composer, and if that time has passed
|
||||
|
Loading…
Reference in New Issue
Block a user