From 5f7d540846ed955c9769f13fb20ac7fd0e34d57e Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Thu, 11 May 2023 21:58:57 +0800 Subject: [PATCH] update --- shell/lib-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/lib-install.sh b/shell/lib-install.sh index ada86ae..660e4b4 100755 --- a/shell/lib-install.sh +++ b/shell/lib-install.sh @@ -698,7 +698,7 @@ config_firefox() { if has_snap_app firefox; then local TARGET_DIR="${FIREFOX_SNAP_THEME_DIR}" local FIREFOX_DIR="${FIREFOX_SNAP_DIR_HOME}" - if has_flatpak_app org.mozilla.firefox; then + elif has_flatpak_app org.mozilla.firefox; then local TARGET_DIR="${FIREFOX_FLATPAK_THEME_DIR}" local FIREFOX_DIR="${FIREFOX_FLATPAK_DIR_HOME}" else @@ -725,7 +725,7 @@ config_firefox() { edit_firefox_theme_prefs() { if has_snap_app firefox; then local TARGET_DIR="${FIREFOX_SNAP_THEME_DIR}" - if has_flatpak_app org.mozilla.firefox; then + elif has_flatpak_app org.mozilla.firefox; then local TARGET_DIR="${FIREFOX_FLATPAK_THEME_DIR}" else local TARGET_DIR="${FIREFOX_THEME_DIR}"