SvgaLib/fixldsoconf

8 lines
171 B
Bash
Executable file

#!/bin/sh
if [ `whoami` != root ] ; then exit 0 ; fi
if grep -q /usr/local/lib /etc/ld.so.conf
then
echo > /dev/null
else
echo /usr/local/lib >> /etc/ld.so.conf
fi