File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -2002,11 +2002,11 @@ installOracleInstantClient() {
2002
2002
mv " $installOracleInstantClient_src " " $ORACLE_INSTANTCLIENT_LIBPATH "
2003
2003
echo ' done.'
2004
2004
fi
2005
- if ! test -e " $ORACLE_INSTANTCLIENT_LIBPATH /sdk" ; then
2005
+ if ! test -e " $ORACLE_INSTANTCLIENT_LIBPATH /sdk" && ! test -L " $ORACLE_INSTANTCLIENT_LIBPATH /sdk " ; then
2006
2006
printf ' Downloading Oracle Instant SDK v%s... ' " $installOracleInstantClient_version "
2007
2007
installOracleInstantClient_src=" $( getPackageSource $installOracleInstantClient_sdk ) "
2008
2008
ln -sf " $installOracleInstantClient_src /sdk" " $ORACLE_INSTANTCLIENT_LIBPATH /sdk"
2009
- UNNEEDED_PACKAGE_LINKS=" $UNNEEDED_PACKAGE_LINKS ' $ORACLE_INSTANTCLIENT_LIBPATH /sdk' "
2009
+ UNNEEDED_PACKAGE_LINKS=" $UNNEEDED_PACKAGE_LINKS $ORACLE_INSTANTCLIENT_LIBPATH /sdk"
2010
2010
echo ' done.'
2011
2011
fi
2012
2012
case " $DISTRO " in
@@ -3207,6 +3207,14 @@ installRemoteModule() {
3207
3207
fi
3208
3208
fi
3209
3209
;;
3210
+ oci8 | pdo_oci)
3211
+ installOracleInstantClient
3212
+ if test " $installRemoteModule_module " = oci8; then
3213
+ addConfigureOption with-oci8 " instantclient,$ORACLE_INSTANTCLIENT_LIBPATH "
3214
+ elif test " $installRemoteModule_module " = pdo_oci; then
3215
+ addConfigureOption with-pdo-oci " instantclient,$ORACLE_INSTANTCLIENT_LIBPATH "
3216
+ fi
3217
+ ;;
3210
3218
opencensus)
3211
3219
if test -z " $installRemoteModule_version " ; then
3212
3220
installRemoteModule_version=alpha
You can’t perform that action at this time.
0 commit comments