1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

roles/pbx/tasks/freepbx.yml: Fix 2nd regex patch for FreePBX 16 w/ Asterisk 19

This commit is contained in:
A Holt 2021-11-06 11:32:01 -04:00 committed by GitHub
parent 463cf892f6
commit 9020ae18a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -105,8 +105,8 @@
- name: "FreePBX - 2021-11-06: TEMPORARILY force FreePBX 16 to work with Asterisk 19 - patch /opt/iiab/freepbx/installlib/installcommand.class.php"
replace:
path: /opt/iiab/freepbx/installlib/installcommand.class.php
regexp: 'version_compare\(\$astversion, "19", "ge"\)\) \{$'
replace: 'version_compare($astversion, "20", "ge")) {'
regexp: 'version_compare\(\$matches\[1\], "19", "ge"\)\) \{$'
replace: 'version_compare($matches[1], "20", "ge")) {'
# 2021-08-04: FreePBX 16 no longer needs this FreePBX 15 patch
# - name: FreePBX - Patch FreePBX source - IIAB Bug 1685