Kaynağa Gözat

Removed 'install' dependency, using 'mv' instead.

tags/v0.34.0
Ross Perkins 9 yıl önce
ebeveyn
işleme
a652f89398
1 değiştirilmiş dosya ile 8 ekleme ve 8 silme
  1. +8
    -8
      php/composer.sls

+ 8
- 8
php/composer.sls Dosyayı Görüntüle

@@ -12,6 +12,13 @@ get-composer:
- require:
- pkg: php

install-composer:
cmd.wait:
- name: mv {{ php.temp_dir }}/composer.phar {{ install_file }}
- cwd: {{ php.temp_dir }}
- watch:
- cmd: get-composer

# Get COMPOSER_DEV_WARNING_TIME from the installed composer, and if that time has passed
# then it's time to run `composer selfupdate`
#
@@ -24,11 +31,4 @@ update-composer:
- unless: test $(grep --text COMPOSER_DEV_WARNING_TIME {{ install_file }} | egrep '^\s*define' | sed -e 's,[^[:digit:]],,g') \> $(php -r 'echo time();')
- cwd: {{ php.temp_dir }}
- require:
- cmd: get-composer

install-composer:
cmd.wait:
- name: install -m 0755 {{ php.temp_dir }}/composer.phar {{ install_file }}
- cwd: {{ php.temp_dir }}
- watch:
- cmd: get-composer
- cmd: install-composer

Yükleniyor…
İptal
Kaydet