rpms/firefox/devel firefox-plugin-config.sh.in,NONE,1.1
Martin Stransky (stransky)
fedora-extras-commits at redhat.com
Tue Jul 31 10:52:59 UTC 2007
- Previous message: rpms/firefox/devel .cvsignore, 1.35, 1.36 firefox-xremote-client.sh.in, 1.1, 1.2 firefox.sh.in, 1.19, 1.20 firefox.spec, 1.186, 1.187 sources, 1.39, 1.40
- Next message: rpms/gphoto2/devel .cvsignore, 1.15, 1.16 gphoto2-pkgcfg.patch, 1.1, 1.2 gphoto2.spec, 1.81, 1.82 sources, 1.17, 1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: stransky
Update of /cvs/pkgs/rpms/firefox/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1588
Added Files:
firefox-plugin-config.sh.in
Log Message:
added config script
--- NEW FILE firefox-plugin-config.sh.in ---
#!/bin/sh
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
##
## Usage:
##
## $ mozilla-plugin-config
##
## This script is meant to configure plugins from the mozilla
## rpm installation.
##
## The script will setup all the plugin voodoo needed to make
## mozilla work.
##
## Variables
##
MOZ_ARCH=$(uname -m)
case $MOZ_ARCH in
x86_64 | ia64 | s390 )
MOZ_LIB_DIR="/usr/lib64"
SECONDARY_LIB_DIR="/usr/lib"
;;
* )
MOZ_LIB_DIR="/usr/lib"
SECONDARY_LIB_DIR="/usr/lib64"
;;
esac
if [ ! -x $MOZ_LIB_DIR/firefox-FIREFOX_VERSION/firefox-bin ]; then
if [ ! -x $SECONDARY_LIB_DIR/firefox-FIREFOX_VERSION/firefox-bin ]; then
echo "Error: $MOZ_LIB_DIR/firefox-FIREFOX_VERSION/firefox-bin not found"
if [ -d $SECONDARY_LIB_DIR ]; then
echo " $SECONDARY_LIB_DIR/firefox-FIREFOX_VERSION/firefox-bin not found"
fi
exit 1
fi
MOZ_LIB_DIR="$SECONDARY_LIB_DIR"
fi
MOZ_DIST_BIN="$MOZ_LIB_DIR/firefox-FIREFOX_VERSION"
# Set-up installed plugins
$MOZ_DIST_BIN/plugin-configuration -c -f -q > /dev/null 2>&1
- Previous message: rpms/firefox/devel .cvsignore, 1.35, 1.36 firefox-xremote-client.sh.in, 1.1, 1.2 firefox.sh.in, 1.19, 1.20 firefox.spec, 1.186, 1.187 sources, 1.39, 1.40
- Next message: rpms/gphoto2/devel .cvsignore, 1.15, 1.16 gphoto2-pkgcfg.patch, 1.1, 1.2 gphoto2.spec, 1.81, 1.82 sources, 1.17, 1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list