From b97c7db893f6d994ef4f47977329cbbb0ba8b46c Mon Sep 17 00:00:00 2001 From: Quan TRAN Date: Wed, 18 Dec 2019 14:39:02 +0100 Subject: [PATCH] Update install-php-extensions --- install-php-extensions | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/install-php-extensions b/install-php-extensions index f337860..280076a 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -41,22 +41,6 @@ getDistro () { fi } -# Get the distribution name with version -# -# Output: -# alpine|debian -getDistroVersion () { - getDistro_version_id='' - if test -r /etc/os-release; then - getDistro_version_id="$(cat /etc/os-release | grep -E ^VERSION_ID= | cut -d = -f 2)" - fi - if test -n "$getDistro_version_id"; then - printf '%s' "$(getDistro)$getDistro_version_id" - else - printf '%s' '' - fi -} - # Get the PHP Major-Minor version as an integer value, in format MMmm (example: 506 for PHP 5.6.15) # # Output: