remove update-alternatives because it should only be set for the cli-state

This commit is contained in:
kurt--- 2017-05-05 17:47:53 +02:00 committed by GitHub
parent 74a60ccf8f
commit 2e2ef4e529

View File

@ -47,16 +47,6 @@ php_ppa_{{ state }}:
- onchanges:
- pkgrepo: php_ppa_{{ state }}
php_{{ phpng_version }}_link:
alternatives.set:
- name: php
- path: /usr/bin/php{{ phpng_version }}
- require_in:
- pkg: php_install_{{ state }}
- onlyif:
- which php
- test {{ current_php }} != $(which php{{ phpng_version }})
{% endif %}
{% endif %}