15 lines
235 B
Bash
15 lines
235 B
Bash
#!/bin/sh
|
|
KARCH=$(uname -m)
|
|
|
|
case "$KARCH" in
|
|
armv7l)
|
|
ARCH=armhf
|
|
;;
|
|
*)
|
|
ARCH="$KARCH"
|
|
;;
|
|
esac
|
|
|
|
if [ ! -f /etc/ld-musl-$ARCH.path ]; then
|
|
echo "/usr/lib/libhybris-egl:/lib:/usr/local/lib:/usr/lib" > /etc/ld-musl-$ARCH.path
|
|
fi
|