From 476dbf3a120cb814febc4e0b810243d87ad38191 Mon Sep 17 00:00:00 2001 From: Adam Perkowski Date: Tue, 1 Oct 2024 00:29:54 +0200 Subject: [PATCH] add an `*` packager exception (#710) --- core/tabs/system-setup/terminus-tty.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/tabs/system-setup/terminus-tty.sh b/core/tabs/system-setup/terminus-tty.sh index 16a8f3b0..2c1deaa0 100755 --- a/core/tabs/system-setup/terminus-tty.sh +++ b/core/tabs/system-setup/terminus-tty.sh @@ -16,6 +16,10 @@ InstallTermiusFonts() { dnf) "$ESCALATION_TOOL" "$PACKAGER" install -y terminus-fonts-console ;; + *) + printf "%b\n" "${RED}Unsupported package manager: ""$PACKAGER""${RC}" + exit 1 + ;; esac else printf "%b\n" "${GREEN}Terminus Fonts is already installed.${RC}"