Critical update: correcting Firefox installation workflow
This commit is contained in:
parent
233a461a2c
commit
80f1ee96e7
@ -196,7 +196,7 @@ has_command() {
|
||||
}
|
||||
|
||||
has_flatpak_app() {
|
||||
flatpak list --columns=application 2> /dev/null | grep "${1}" || return 1
|
||||
flatpak list --columns=application 2> /dev/null | grep "${1}" &> /dev/null || return 1
|
||||
}
|
||||
|
||||
is_my_distro() {
|
||||
|
@ -433,6 +433,8 @@ revert_gdm_theme() {
|
||||
###############################################################################
|
||||
|
||||
install_firefox_theme() {
|
||||
#TODO: add support for Snap
|
||||
|
||||
if has_flatpak_app org.mozilla.firefox; then
|
||||
local TARGET_DIR="${FIREFOX_FLATPAK_THEME_DIR}"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user