summarylogtreecommitdiffstats
path: root/mercury-browser.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mercury-browser.sh')
-rw-r--r--mercury-browser.sh32
1 files changed, 0 insertions, 32 deletions
diff --git a/mercury-browser.sh b/mercury-browser.sh
deleted file mode 100644
index ea7e7f01220c..000000000000
--- a/mercury-browser.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/env bash
-
-# check microprocessor architecture level
-if /usr/lib/ld-linux-x86-64.so.2 --help | grep -qsE '^\s+x86-64-v3.*supported.*$' ; then
- _message=''
- _message+=$'The fastest Firefox fork on Earth.'
-elif grep -qE '\bpni\b' /proc/cpuinfo ; then
- _message=''
- _message+=$'Your processor does not support x86-64-v3.\n'
- _message+=$'You may want to use mercury-browser-sse3-bin.'
-else
- _message=''
- _message+=$'Your processor does not support SSE3 instructions.\n'
- _message+=$'mercury-browser may not work on your computer.'
-fi
-
-# Allow users to override command-line options
-XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config}
-_FLAGFILE="$XDG_CONFIG_HOME/mercury-flags.conf"
-if [[ -f "$_FLAGFILE" ]]; then
- _USER_FLAGS=$(cat "$_FLAGFILE")
-fi
-
-# display processor support message
-if tty -s ; then
- echo "$_message"
-else
- [ ! -e "$HOME/.mercury" ] && notify-send -a "mercury-browser" -t 7500 "$_message"
-fi
-
-# Launch
-exec /opt/mercury-browser/mercury $_USER_FLAGS "$@"