Files
MINGW-packages/mingw-w64-chromium-dev/chromium-dev.sh
2014-12-02 22:37:00 +00:00

17 lines
532 B
Bash

#!/bin/sh
# Allow users to override command-line options
# Based on Gentoo's chromium package (and by extension, Debian's)
if [[ -f /etc/chromium-dev/default ]]; then
. /etc/chromium-dev/default
fi
# Prefer user defined CHROMIUM_USER_FLAGS (from env) over system
# default CHROMIUM_FLAGS (from /etc/chromium-dev/default)
CHROMIUM_FLAGS=${CHROMIUM_USER_FLAGS:-$CHROMIUM_FLAGS}
export CHROME_WRAPPER=$(readlink -f "$0")
export CHROME_DESKTOP="chromium-dev.desktop"
exec /usr/lib/chromium-dev/chromium-dev ${CHROMIUM_FLAGS} "$@"