diff --git a/core/tabs/utils/printers/install-epson-printer-drivers.sh b/core/tabs/utils/printers/install-epson-printer-drivers.sh index 9d190218..be70c037 100644 --- a/core/tabs/utils/printers/install-epson-printer-drivers.sh +++ b/core/tabs/utils/printers/install-epson-printer-drivers.sh @@ -7,16 +7,19 @@ installEpsonPrinterDriver() { clear case "$PACKAGER" in - pacman) - "${AUR_HELPER}" -S --noconfirm epson-inkjet-printer-escpr - ;; - apt-get | nala) - "$ESCALATION_TOOL" "${PACKAGER}" install -y printer-driver-escpr - ;; - dnf) - "$ESCALATION_TOOL" "${PACKAGER}" install -y epson-inkjet-printer-escpr - ;; - *) ;; + pacman) + "$AUR_HELPER" -S --noconfirm epson-inkjet-printer-escpr + ;; + apt-get|nala) + "$ESCALATION_TOOL" "$PACKAGER" install -y printer-driver-escpr + ;; + dnf) + "$ESCALATION_TOOL" "$PACKAGER" install -y epson-inkjet-printer-escpr + ;; + *) + printf "%b\n" "${RED}Unsupported package manager ${PACKAGER}${RC}" + exit 1 + ;; esac }