blob: 026babbccb88ff6d43d73da7ea493eb463d0fc06 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/bash
# Allow users to override command-line options
# Based on Gentoo's chromium package (and by extension, Debian's)
if [[ -f /etc/default/chromium-dev ]]; then
. /etc/default/chromium-dev
fi
# Prefer user defined CHROMIUM_DEV_USER_FLAGS (from env) over system
# default CHROMIUM_FLAGS (from /etc/default/chromium-dev)
CHROMIUM_DEV_FLAGS=${CHROMIUM_DEV_USER_FLAGS:-$CHROMIUM_DEV_FLAGS}
export CHROME_WRAPPER=$(readlink -f "$0")
export CHROME_DESKTOP=chromium-dev.desktop
exec /usr/lib@LIBDIRSUFFIX@/chromium-dev/chromium-dev $CHROMIUM_DEV_FLAGS "$@"
|