Pārlūkot izejas kodu

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 pirms 9 gadiem
vecāks
revīzija
2567557fac
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. +3
    -2
      php/composer.sls

+ 3
- 2
php/composer.sls Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt