From 5d2eaf97b48e53ba5ffe5a5afc0d7dc1c97edae2 Mon Sep 17 00:00:00 2001 From: mateuszkozako Date: Wed, 22 Jan 2025 09:49:57 +0100 Subject: [PATCH] Update core/tabs/applications-setup/fastfetch-setup.sh Co-authored-by: Adam Perkowski --- core/tabs/applications-setup/fastfetch-setup.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/core/tabs/applications-setup/fastfetch-setup.sh b/core/tabs/applications-setup/fastfetch-setup.sh index 75d641bd..ce9842dc 100644 --- a/core/tabs/applications-setup/fastfetch-setup.sh +++ b/core/tabs/applications-setup/fastfetch-setup.sh @@ -54,11 +54,9 @@ setupFastfetchShell() { ;; esac - # Check if RC file exists - if [ ! -f "$rc_file" ] || [ "$other_shell" != "True" ]; then - printf "%b\n" "${RED}Shell config file $rc_file${RC} not found" + if [ ! -f "$rc_file" ]; then + printf "%b\n" "${RED}Shell config file $rc_file not found${RC}" else - # Check if fastfetch is already in RC file if grep -q "fastfetch" "$rc_file"; then printf "%b\n" "${YELLOW}Fastfetch is already configured in $rc_file${RC}" return 0