better plugin directory resolution (bnc#747320) esr10
authorPetr Cerny <pcerny@suse.com>
Sat, 18 Feb 2012 22:29:19 +0100
branchesr10
changeset 394 9f8c32361c40
parent 390 58290bfa7edb (current diff)
parent 393 997d2e729a8c (diff)
child 397 efe18be91213
better plugin directory resolution (bnc#747320)
--- a/MozillaFirefox/MozillaFirefox.changes	Thu Feb 16 19:10:05 2012 +0100
+++ b/MozillaFirefox/MozillaFirefox.changes	Sat Feb 18 22:29:19 2012 +0100
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Fri Feb 17 17:41:11 UTC 2012 - pcerny@suse.com
+
+- better plugin directory resolution (bnc#747320)
+
 -------------------------------------------------------------------
 Thu Feb 16 08:47:31 UTC 2012 - wr@rosenauer.org
 
--- a/MozillaFirefox/mozilla.sh.in	Thu Feb 16 19:10:05 2012 +0100
+++ b/MozillaFirefox/mozilla.sh.in	Sat Feb 18 22:29:19 2012 +0100
@@ -72,7 +72,7 @@
 
 mozilla_lib=`file $MOZ_PROGRAM`
 LIB=lib
-echo $mozilla_lib | grep -q -E 'x86-64|s390x|64-bit.PowerPC' && LIB=lib64
+echo $mozilla_lib | grep -q -E 'ELF.64-bit.*(x86-64|S/390|PowerPC)' && LIB=lib64
 
 BROWSER_PLUGIN_DIR=/usr/$LIB/browser-plugins
 if [ ! -d $BROWSER_PLUGIN_DIR ]; then