summaryrefslogtreecommitdiffstats
path: root/patches/source/seamonkey/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'patches/source/seamonkey/doinst.sh')
-rw-r--r--patches/source/seamonkey/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/patches/source/seamonkey/doinst.sh b/patches/source/seamonkey/doinst.sh
new file mode 100644
index 000000000..fe830f25a
--- /dev/null
+++ b/patches/source/seamonkey/doinst.sh
@@ -0,0 +1,10 @@
+# Removing /usr/lib/seamonkey from ld.so.conf. That was a hack that we did
+# long ago before a standalone mozilla-nss package was shipped.
+# Hopefully this won't break everything. ;-)
+( cd etc
+ cat ld.so.conf | grep -v /usr/lib/seamonkey > ld.so.conf.new
+ mv ld.so.conf.new ld.so.conf
+)
+if [ -x /sbin/ldconfig ]; then
+ /sbin/ldconfig 2> /dev/null
+fi