diff --git a/php/composer.sls b/php/composer.sls index 49c7aa7..374b36f 100644 --- a/php/composer.sls +++ b/php/composer.sls @@ -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