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

@ -8,15 +8,18 @@ installEpsonPrinterDriver() {
case "$PACKAGER" in
pacman)
"${AUR_HELPER}" -S --noconfirm epson-inkjet-printer-escpr
"$AUR_HELPER" -S --noconfirm epson-inkjet-printer-escpr
;;
apt-get|nala)
"$ESCALATION_TOOL" "${PACKAGER}" install -y printer-driver-escpr
"$ESCALATION_TOOL" "$PACKAGER" install -y printer-driver-escpr
;;
dnf)
"$ESCALATION_TOOL" "${PACKAGER}" install -y epson-inkjet-printer-escpr
"$ESCALATION_TOOL" "$PACKAGER" install -y epson-inkjet-printer-escpr
;;
*)
printf "%b\n" "${RED}Unsupported package manager ${PACKAGER}${RC}"
exit 1
;;
*) ;;
esac
}