[Slackbuilds-users] opera 41.0.2353.46

Willy Sudiarto Raharjo willysr at slackbuilds.org
Sun Nov 6 00:07:52 UTC 2016


> I just installed this package and got a /usr/bin/opera with contents
> 
> #!/bin/bash
> 
> # Allow users to override command-line options
> # Based on Gentoo's chromium package (and by extension, Debian's)
> 
> if [[ -f /etc/opera/default ]]; then
>         . /etc/opera/default
> fi
> 
> # Prefer user defined CHROMIUM_USER_FLAGS (from env) over system
> # default CHROMIUM_FLAGS (from /etc/chromium/default)
> 
> OPERA_FLAGS=${OPERA_USER_FLAGS:-$OPERA_FLAGS}
> 
> if [ "$ARCH" = "x86_64" ]; then
>         exec /usr/lib64/opera/opera $OPERA_FLAGS "$@"
> else
>         exec /usr/lib/opera/opera $OPERA_FLAGS "$@"
> fi
> 
> 
> I am running Slackware64, but I don't have variable ARCH set, so it
> tries to run /usr/lib/opera/opera, which isn't there.
> 
> 
> Is this package correct in assuming I am supposed to have $ARCH ?
> (This would be news to me.)
> 
> Or is there a bug in the package and/or its installation procedure for
> Slackware?

Hi Jim

It seems the maintainer only test this on x86 machines, so he always
gets to the "else" part since ARCH is not set.

I have the fix pushed to my branch. Can you confirm to work by adding
the changes to /usr/bin/opera ?



-- 
Willy Sudiarto Raharjo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20161106/b3778eb9/attachment.asc>


More information about the SlackBuilds-users mailing list