Add firefox-bin command

This commit is contained in:
Ivo Šmerek
2021-11-12 11:21:08 +01:00
committed by GitHub
parent 49a1d3dd47
commit 1d520ce6f0

View File

@@ -96,7 +96,7 @@ while [[ $# -gt 0 ]]; do
esac
done
if ! has_command firefox && ! has_flatpak_app org.mozilla.firefox && ! has_snap_app firefox; then
if ! has_command firefox && ! has_command firefox-bin && ! has_flatpak_app org.mozilla.firefox && ! has_snap_app firefox; then
prompt -e "'${1}' ERROR: There's no Firefox installed in your system"
has_any_error="true"
elif [[ ! -d "${FIREFOX_DIR_HOME}" && ! -d "${FIREFOX_FLATPAK_DIR_HOME}" && ! -d "${FIREFOX_SNAP_DIR_HOME}" ]]; then