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: