blob: e9035deb3c2e88eba33ee9a1d4daa296282d3a33 (
plain)
#!/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
|