type firefox >/dev/null || exit