diff options
Diffstat (limited to 'www-client/conkeror/files/conkeror-r2.sh')
-rw-r--r-- | www-client/conkeror/files/conkeror-r2.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/www-client/conkeror/files/conkeror-r2.sh b/www-client/conkeror/files/conkeror-r2.sh new file mode 100644 index 000000000000..9b46d5bb0c07 --- /dev/null +++ b/www-client/conkeror/files/conkeror-r2.sh @@ -0,0 +1,14 @@ +#!/bin/bash +# Wrapper script for conkeror + +for cmd in firefox firefox-bin; do + xr=$(type -p ${cmd}) + if [[ -n ${xr} ]]; then + : ${MOZ_PLUGIN_PATH:=/usr/lib/nsbrowser/plugins} #497070 + export MOZ_PLUGIN_PATH + exec "${xr}" -app /usr/share/conkeror/application.ini "$@" + fi +done + +echo "$0: firefox required, but not found." >&2 +exit 1 |