mirror of
https://github.com/vinceliuice/WhiteSur-gtk-theme.git
synced 2025-06-06 15:33:02 +00:00
Critical update: correcting Firefox installation workflow
This commit is contained in:
parent
233a461a2c
commit
80f1ee96e7
@ -196,7 +196,7 @@ has_command() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
has_flatpak_app() {
|
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() {
|
is_my_distro() {
|
||||||
|
@ -433,6 +433,8 @@ revert_gdm_theme() {
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
install_firefox_theme() {
|
install_firefox_theme() {
|
||||||
|
#TODO: add support for Snap
|
||||||
|
|
||||||
if has_flatpak_app org.mozilla.firefox; then
|
if has_flatpak_app org.mozilla.firefox; then
|
||||||
local TARGET_DIR="${FIREFOX_FLATPAK_THEME_DIR}"
|
local TARGET_DIR="${FIREFOX_FLATPAK_THEME_DIR}"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user