summarylogtreecommitdiffstats
path: root/opera
blob: 356c0ed429dc14403c10986f4fa5700a78f6f6f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

# Allow users to override command-line options
# Based on Gentoo's chromium package (and by extension, Debian's)
if [[ -f /etc/%pkgname%/default ]]; then
	. /etc/%pkgname%/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}

exec /usr/lib/%operabin% $OPERA_FLAGS "$@"