diff options
Diffstat (limited to 'www-client/chromium/files/chromium-launcher-r2.sh')
-rw-r--r-- | www-client/chromium/files/chromium-launcher-r2.sh | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/www-client/chromium/files/chromium-launcher-r2.sh b/www-client/chromium/files/chromium-launcher-r2.sh deleted file mode 100644 index e20bcea..0000000 --- a/www-client/chromium/files/chromium-launcher-r2.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -# Allow the user to override command-line flags, bug #357629. -# This is based on Debian's chromium-browser package, and is intended -# to be consistent with Debian. -if [ -f /etc/chromium/default ] ; then - . /etc/chromium/default -fi - -# Prefer user defined CHROMIUM_USER_FLAGS (from env) over system -# default CHROMIUM_FLAGS (from /etc/chromium/default). -CHROMIUM_FLAGS=${CHROMIUM_USER_FLAGS:-"$CHROMIUM_FLAGS"} - -# Let the wrapped binary know that it has been run through the wrapper -export CHROME_WRAPPER="`readlink -f "$0"`" - -PROGDIR="`dirname "$CHROME_WRAPPER"`" - -case ":$PATH:" in - *:$PROGDIR:*) - # $PATH already contains $PROGDIR - ;; - *) - # Append $PROGDIR to $PATH - export PATH="$PATH:$PROGDIR" - ;; -esac - -# Set the .desktop file name -export CHROME_DESKTOP="chromium-browser-chromium.desktop" - -exec -a "chromium-browser" "$PROGDIR/chrome" --extra-plugin-dir=/usr/lib/nsbrowser/plugins ${CHROMIUM_FLAGS} "$@" |