Browse Source

Fix edge case with install-composer which results in composer not being installed/reinstalled due to the state of get-composer not changing.

tags/v0.34.0
Matt Kelch 9 years ago
parent
commit
2567557fac
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      php/composer.sls

+ 3
- 2
php/composer.sls View File

- 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

Loading…
Cancel
Save