[Fedora-packaging] Re: -devel arch dependencies
Tom "spot" Callaway
tcallawa at redhat.com
Thu Apr 12 18:35:34 UTC 2007
On Thu, 2007-04-12 at 20:33 +0200, Matthias Saou wrote:
> Oh, silly question, but : When installing both firefox packages, is the
> 32bit version run by default!? If so, how come, and is it the same for
> all other packages (I seem to have quite a few installed as both 32 and
> 64 bit and I'd prefer to be running the native versions) or does
> firefox already have some kind of special treatment?
No, the 64bit version is.
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-2.0.0.3/firefox-bin ]; then
if [ ! -x $SECONDARY_LIB_DIR/firefox-2.0.0.3/firefox-bin ]; then
echo "Error: $MOZ_LIB_DIR/firefox-2.0.0.3/firefox-bin not found"
if [ -d $SECONDARY_LIB_DIR ]; then
echo " $SECONDARY_LIB_DIR/firefox-2.0.0.3/firefox-bin
not found"
fi
exit 1
fi
MOZ_LIB_DIR="$SECONDARY_LIB_DIR"
fi
~spot
More information about the Fedora-packaging
mailing list