Many app explicitly specify YNH_PHP_VERSION=7.3, then trying to install php7.3-foo which doesn't exist ... so gotta yolopatch that definition ...

This commit is contained in:
Alexandre Aubin 2021-05-30 19:03:44 +02:00
parent cb129e2bf1
commit 5046e49c8b

View file

@ -3475,6 +3475,7 @@ LEGACY_PHP_VERSION_REPLACEMENTS = [
("php5", "php7.4"), ("php5", "php7.4"),
("php7.0", "php7.4"), ("php7.0", "php7.4"),
("php7.3", "php7.4"), ("php7.3", "php7.4"),
('YNH_PHP_VERSION="7.3"', 'YNH_PHP_VERSION="7.4"'),
( (
'phpversion="${phpversion:-7.0}"', 'phpversion="${phpversion:-7.0}"',
'phpversion="${phpversion:-7.4}"', 'phpversion="${phpversion:-7.4}"',