Explorar el Código

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 hace 9 años
padre
commit
2567557fac
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. +3
    -2
      php/composer.sls

+ 3
- 2
php/composer.sls Ver fichero

@@ -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

Cargando…
Cancelar
Guardar