Skip to content

Commit 5486e44

Browse files
authored
Merge pull request #159 from bawuenet/scl_opcache
Handle different scl/legacy php naming for opcache.
2 parents 530f4b9 + 6405214 commit 5486e44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php/ng/map.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2738,7 +2738,7 @@
27382738
'net-smtp': 'php-pear-Net-SMTP',
27392739
'net4': 'php-pear-Net-IPv4',
27402740
'oauth': 'php-pecl-oauth',
2741-
'opcache': 'php-pecl-zendopcache',
2741+
'opcache': rh_prefix + 'php-opcache' if salt['pillar.get']('php:use_scl_repo', False) else 'php-pecl-zendopcache',
27422742
'pear': rh_prefix + 'php-pear',
27432743
'pgsql': rh_prefix + 'php-pgsql',
27442744
'php': rh_prefix + 'php',

0 commit comments

Comments
 (0)