Skip to content

Commit b56d74f

Browse files
committed
wip
1 parent 4b89278 commit b56d74f

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

.github/actions/apt-x64/action.yml

+1-18
Original file line numberDiff line numberDiff line change
@@ -127,27 +127,10 @@ runs:
127127
# fix debug build warning: zend_signal: handler was replaced for signal (2) after startup
128128
echo DISABLE_INTERRUPT=on > /opt/oracle/instantclient/network/admin/sqlnet.ora
129129
if [ -f /etc/alpine-release ]; then
130-
echo "TODO SETUP"
131-
132-
ORACLE_INSTANTCLIENT_LIBPATH=/opt/oracle/instantclient/lib
133-
134-
ls -lah $ORACLE_INSTANTCLIENT_LIBPATH
135-
136130
if ! test -e /usr/lib/libresolv.so.2 && test -e /lib/libc.so.6; then
137131
ln -s /lib/libc.so.6 /usr/lib/libresolv.so.2
138132
fi
139-
installOracleInstantClient_ldconf=/etc/ld-musl-x86_64.path
140-
if test -e "$installOracleInstantClient_ldconf"; then
141-
if ! cat "$installOracleInstantClient_ldconf" | grep -q "$ORACLE_INSTANTCLIENT_LIBPATH"; then
142-
cat "$ORACLE_INSTANTCLIENT_LIBPATH" | awk -v suffix=":$ORACLE_INSTANTCLIENT_LIBPATH" '{print NR==1 ? $0suffix : $0}' >"$ORACLE_INSTANTCLIENT_LIBPATH"
143-
fi
144-
else
145-
echo "/lib64:/lib:/usr/local/lib:/usr/lib:$ORACLE_INSTANTCLIENT_LIBPATH" >"$installOracleInstantClient_ldconf"
146-
fi
147-
148-
149-
150-
133+
echo "/lib:/usr/local/lib:/usr/lib:/opt/oracle/instantclient/lib" > /etc/ld-musl-x86_64.path
151134
else
152135
sh -c 'echo /opt/oracle/instantclient >/etc/ld.so.conf.d/oracle-instantclient.conf && ldconfig'
153136
fi

0 commit comments

Comments
 (0)