From 385187633d820715a0ad73681db12fdbba10f80f Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Wed, 25 Aug 2021 12:03:53 +0200 Subject: [PATCH] Fix installing tensor on Debian Bullseye --- install-php-extensions | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install-php-extensions b/install-php-extensions index 6280484..d0cb424 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -944,7 +944,10 @@ buildRequiredPackageLists() { tensor@debian) buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent liblapacke libopenblas-base" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile liblapack-dev libopenblas-dev liblapacke-dev" - if test $DISTRO_VERSION_NUMBER -ge 10; then + if test $DISTRO_VERSION_NUMBER -ge 11; then + buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent gfortran-10" + buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libgfortran-10-dev" + elif test $DISTRO_VERSION_NUMBER -ge 10; then buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent gfortran-8" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libgfortran-8-dev" fi