Update core/tabs/utils/printers/install-epson-printer-drivers.sh

Co-authored-by: JEEVITHA KANNAN K S <ksjeevithakannan123@gmail.com>
This commit is contained in:
Vorthas 2024-10-21 15:32:04 -04:00 committed by GitHub
parent e170ec0cc8
commit 69c5d0a412
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
}