Skip to content

Commit

Permalink
Fix installing pdo_sqlsrv/sqlsrv on Debian Bookworm (#820)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati authored Oct 30, 2023
1 parent 6644865 commit 056e693
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions install-php-extensions
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}
Expand Down

0 comments on commit 056e693

Please sign in to comment.