Critical update: correcting Firefox installation workflow
This commit is contained in:
2 files changed
+3
-1
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user