mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 05:12:27 +00:00
Add basic script to install Epson printer drivers in Arch, Debian, and Fedora.
This commit is contained in:
parent
79eb752552
commit
aa95e70f23
26
core/tabs/utils/printers/install-epson-printer-drivers.sh
Normal file
26
core/tabs/utils/printers/install-epson-printer-drivers.sh
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
#!/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
|
|
@ -76,6 +76,13 @@ name = "Set Resolution"
|
||||||
description = "This script is designed to change the resolution of monitors connected to your system"
|
description = "This script is designed to change the resolution of monitors connected to your system"
|
||||||
script = "monitor-control/set_resolutions.sh"
|
script = "monitor-control/set_resolutions.sh"
|
||||||
|
|
||||||
|
[[data]]
|
||||||
|
name = "Printers"
|
||||||
|
|
||||||
|
[[data.entries]]
|
||||||
|
name = "Install EPSON printer drivers"
|
||||||
|
script = "printers/install-epson-printer-drivers.sh"
|
||||||
|
|
||||||
[[data]]
|
[[data]]
|
||||||
name = "User Account Manager"
|
name = "User Account Manager"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user