[Player-cvs] installer/common postinst.sh,1.19,1.20

[Player-cvs] installer/common postinst.sh,1.19,1.20

nhart at helixcommunity.org nhart at helixcommunity.org
Fri Jul 9 14:35:45 PDT 2004


Update of /cvsroot/player/installer/common
In directory cvs-new:/tmp/cvs-serv9690/common

Modified Files:
	postinst.sh 
Log Message:
CR rggammon
fix PR 2538 and 2606
try installing the plugin to some additional browser plugin directories
test for /opt/gnome/share/pixmaps instead of assuming it exists



Index: postinst.sh
===================================================================
RCS file: /cvsroot/player/installer/common/postinst.sh,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- postinst.sh	9 Jun 2004 00:16:24 -0000	1.19
+++ postinst.sh	9 Jul 2004 21:35:43 -0000	1.20
@@ -56,10 +56,19 @@
 
 # do root processing
 if [ $LOGNAME = "root" ] ; then
-    # system plugins directory
-    MOZDIR=/usr/lib/mozilla/plugins
-    if [ ! -d $MOZDIR ] ; then
-	echo "$MOZDIR not found."
+    # find system plugins directory
+    MOZFOUND=0
+    for MOZDIR in "/usr/lib/mozilla/plugins" "/usr/lib/browser-plugins" "/opt/mozilla/lib/plugins"; do
+	if [ -d "$MOZDIR" ] ; then
+	    eval_cmd ln -sf "$INSTDIR/mozilla/nphelix.so" "$MOZDIR"
+	    eval_cmd ln -sf "$INSTDIR/mozilla/nphelix.xpt" "$MOZDIR"
+	    MOZFOUND=1
+	fi
+    done
+    unset MOZDIR
+
+    if [ $MOZFOUND -eq 0 ] ; then
+	echo "No Mozilla plugin directory found."
 	echo "Please enter Mozilla's plugins directory to install the Mozilla plug-in,"
 	echo "or leave blank to skip plug-in installation: "
 	read MOZDIR




More information about the Player-cvs mailing list
 

Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
All other trademarks or registered trademarks are the property of their respective holders.