From 8933271f15e8c5c0b01e3ee805efa2eed4bbdddc Mon Sep 17 00:00:00 2001 From: Adam Perkowski Date: Tue, 1 Oct 2024 00:26:15 +0200 Subject: [PATCH] add an `*` packager exception --- 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 16a8f3b0d..2c1deaa08 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}"