mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-25 06:24:26 +00:00
27 lines
538 B
Bash
27 lines
538 B
Bash
|
#!/bin/sh -e
|
||
|
|
||
|
. ../../common-script.sh
|
||
|
|
||
|
# Function to install drivers for Epson printers
|
||
|
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
|
||
|
;;
|
||
|
*) ;;
|
||
|
esac
|
||
|
}
|
||
|
|
||
|
checkEnv
|
||
|
checkEscalationTool
|
||
|
checkAURHelper
|
||
|
installEpsonPrinterDriver
|