opt/xulrunner/post-install
Brett Goulder ac8e077d0a xulrunner: Refine post-install script
Make sure the post-install script only adds /usr/lib/xulrunner if it's not present.
2008-04-03 13:21:44 -04:00

7 lines
142 B
Bash
Executable File

#!/bin/sh
if [ -z "`grep "usr/lib/xulrunner" /etc/ld.so.conf`" ]; then
/bin/echo "/usr/lib/xulrunner" >> /etc/ld.so.conf
/sbin/ldconfig
fi