Critical update: correcting Firefox installation workflow

This commit is contained in:
Muhammad Rivan committed 2021-05-30 20:11:55 +07:00
1 parent 233a461a2c
commit 80f1ee96e7
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -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() {
+2
View File
@@ -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