xulrunner: Refine post-install script
Make sure the post-install script only adds /usr/lib/xulrunner if it's not present.
This commit is contained in:
parent
dc29611546
commit
ac8e077d0a
@ -1,4 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
/bin/echo "/usr/lib/xulrunner" >> /etc/ld.so.conf
|
||||
/sbin/ldconfig
|
||||
if [ -z "`grep "usr/lib/xulrunner" /etc/ld.so.conf`" ]; then
|
||||
/bin/echo "/usr/lib/xulrunner" >> /etc/ld.so.conf
|
||||
/sbin/ldconfig
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user