From cf09aab9d9a2871dbc8c78deb88f2d0bcbe0922c Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Thu, 11 May 2023 21:26:20 +0800 Subject: [PATCH] Fixed #871 --- shell/lib-install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/shell/lib-install.sh b/shell/lib-install.sh index 60b6dda..ada86ae 100755 --- a/shell/lib-install.sh +++ b/shell/lib-install.sh @@ -695,9 +695,9 @@ install_firefox_theme() { } config_firefox() { - # if has_snap_app firefox; then - # local TARGET_DIR="${FIREFOX_SNAP_THEME_DIR}" - # local FIREFOX_DIR="${FIREFOX_SNAP_DIR_HOME}" + 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 local TARGET_DIR="${FIREFOX_FLATPAK_THEME_DIR}" local FIREFOX_DIR="${FIREFOX_FLATPAK_DIR_HOME}" @@ -723,8 +723,8 @@ config_firefox() { } edit_firefox_theme_prefs() { - # if has_snap_app firefox; then - # local TARGET_DIR="${FIREFOX_SNAP_THEME_DIR}" + if has_snap_app firefox; then + local TARGET_DIR="${FIREFOX_SNAP_THEME_DIR}" if has_flatpak_app org.mozilla.firefox; then local TARGET_DIR="${FIREFOX_FLATPAK_THEME_DIR}" else