Fix installing pdo_sqlsrv/sqlsrv on Debian Bookworm (#820)

pull/823/head 2.1.59
Michele Locati 2023-10-30 15:32:54 +01:00 committed by GitHub
parent 6644865050
commit 056e693409
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -2020,9 +2020,6 @@ installMicrosoftSqlServerODBC() {
rm -rf /tmp/src/msodbcsql.apk
;;
debian)
if test $DISTRO_VERSION_NUMBER -eq 12; then
DISTRO_VERSION_NUMBER=11
fi
printf -- '- installing the Microsoft APT key\n'
if test $DISTRO_VERSION_NUMBER -eq 11; then
curl -sSLf -o /etc/apt/trusted.gpg.d/microsoft.asc https://packages.microsoft.com/keys/microsoft.asc
@ -2046,9 +2043,6 @@ installMicrosoftSqlServerODBC() {
else
DEBIAN_FRONTEND=noninteractive ACCEPT_EULA=Y apt-get install -qqy --no-install-recommends $IPE_APTGET_INSTALLOPTIONS '^msodbcsql[0-9]+$'
fi
if test $DISTRO_VERSION_NUMBER -eq 11; then
setDistro
fi
;;
esac
}