Re: Re: -devel arch dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux