summaryrefslogtreecommitdiff
blob: 9b46d5bb0c07d74c31f0563ead6710a20168035b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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