浏览代码

require packages curl and cli. This also prevents the installing of apache on apt-get-systems

tags/v0.34.0
Kurt Bendlin 9 年前
父节点
当前提交
d723b7b87c
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. +4
    -2
      php/composer.sls

+ 4
- 2
php/composer.sls 查看文件

@@ -2,7 +2,8 @@
{% set install_file = php.local_bin + '/composer' %}

include:
- php
- php.cli
- php.ng.curl

get-composer:
cmd.run:
@@ -10,7 +11,8 @@ get-composer:
- unless: test -f {{ install_file }}
- cwd: {{ php.temp_dir }}
- require:
- pkg: php
- pkg: {{ php.cli_pkg }}
- pkg: {{ php.curl_pkg }}

install-composer:
cmd.wait:

正在加载...
取消
保存