mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-25 06:09:50 +00:00
15 lines
280 B
Bash
Executable File
15 lines
280 B
Bash
Executable File
#!/bin/sh
|
|
LD=/etc/ld.so.conf.d
|
|
if test -w $LD ; then
|
|
if type ldconfig > /dev/null 2>&1 ; then
|
|
mkdir -p $LD
|
|
P=$(awk -F= '/^LIBDIR/{print $2}' config-user.mk)
|
|
D=`dirname $P``basename $P`
|
|
if [ /usr != "$D" ]; then
|
|
echo $P > $LD/radare.conf
|
|
ldconfig
|
|
fi
|
|
fi
|
|
fi
|
|
exit 0
|