Pārlūkot izejas kodu

update-alternatives is only required for php-cli

tags/v0.34.0
kurt--- pirms 7 gadiem
vecāks
revīzija
e63b22c354
1 mainītis faili ar 11 papildinājumiem un 0 dzēšanām
  1. +11
    -0
      php/ng/cli/install.sls

+ 11
- 0
php/ng/cli/install.sls Parādīt failu

@@ -1,2 +1,13 @@
{% set state = 'cli' %}
{% include "php/ng/installed.jinja" %}


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 }})

Notiek ielāde…
Atcelt
Saglabāt