Use cached packages for PHP updates on GHR

This commit is contained in:
Shivam Mathur 2021-03-05 23:34:26 +05:30
parent 18f02c9c99
commit 4186db28f7
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -204,7 +204,7 @@ add_packaged_php() {
# Function to update PHP. # Function to update PHP.
update_php() { update_php() {
initial_version=$(php_semver) initial_version=$(php_semver)
use_package_cache="false" add_packaged_php add_packaged_php
updated_version=$(php_semver) updated_version=$(php_semver)
if [ "$updated_version" != "$initial_version" ]; then if [ "$updated_version" != "$initial_version" ]; then
status="Updated to" status="Updated to"