Browse Source

Merge pull request #59 from unicalabs/upstream

Fix install-composer edge cases
tags/v0.34.0
Forrest 9 years ago
parent
commit
9a54fcf5c1
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      php/composer.sls

+ 3
- 2
php/composer.sls View File

@@ -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…
Cancel
Save