From 42a9487ddd45db247decea2acf7de871a8178226 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Sat, 15 Mar 2025 04:43:12 +0530 Subject: [PATCH] Fix pdo_oci --- src/scripts/extensions/oci.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/extensions/oci.sh b/src/scripts/extensions/oci.sh index eed9920c..e01bcf59 100644 --- a/src/scripts/extensions/oci.sh +++ b/src/scripts/extensions/oci.sh @@ -40,7 +40,7 @@ add_client() { sudo mkdir -p "$libs" sudo ln -sf /opt/oracle/instantclient/*.$lib_ext* $libs if [ "$os" = "Linux" ]; then - [ -e "$libs/$arch"-linux-gnu/libaio.so.1t64 ] && sudo ln -sf "$libs/$arch"-linux-gnu/libaio.so.1t64 "$libs/$arch"-linux-gnu/libaio.so.1 + [ -e "$libs/$arch"-linux-gnu/libaio.so.1 ] || sudo ln -sf "$libs/$arch"-linux-gnu/libaio.so.1t64 "$libs/$arch"-linux-gnu/libaio.so.1 fi fi }