瀏覽代碼

Only add ppa if it doesn't exist.

This comit is in addition to pull request #70. The add-apt-repository command
will only be run when the ppa has not yet been added.
tags/v0.34.0
Zachary Softich 9 年之前
父節點
當前提交
0aa92cbcc9
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      php/ng/installed.jinja

+ 1
- 0
php/ng/installed.jinja 查看文件

@@ -31,6 +31,7 @@ php_ppa_env_{{ state }}:
- name: apt-add-repository -y ppa:{{ ppa_name }}
- env:
- LC_ALL: C.UTF-8
- unless: test /etc/apt/sources.list.d/{{ ppa_name|replace('/', '-', 1) }}-trusty.list

php_ppa_{{ state }}:
pkgrepo.managed:

Loading…
取消
儲存