mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-12-26 13:29:45 +00:00
b36a7df11c
* Add basic script to install Epson printer drivers in Arch, Debian, and Fedora. * Add I to the task_list for this script. * Update core/tabs/utils/printers/install-epson-printer-drivers.sh Co-authored-by: JEEVITHA KANNAN K S <ksjeevithakannan123@gmail.com> * Update userguide.md based on adam's documentation update. * Add description to tab_data.toml for the printer addition. * Fix typo, oops. * Actually generate the updated userguide. * Add installation of CUPS as a pre-requisite for Epson printer drivers as well as standalone script for other printer drivers to be added in the future. * Update core/tabs/utils/printers/install-cups.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/utils/printers/install-epson-printer-drivers.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/utils/tab_data.toml Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/utils/tab_data.toml Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update docs after changes. --------- Co-authored-by: JEEVITHA KANNAN K S <ksjeevithakannan123@gmail.com> Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
31 lines
613 B
Bash
31 lines
613 B
Bash
#!/bin/sh -e
|
|
|
|
. ../../common-script.sh
|
|
. ./install-cups.sh
|
|
|
|
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
|
|
;;
|
|
*)
|
|
printf "%b\n" "${RED}Unsupported package manager ${PACKAGER}${RC}"
|
|
exit 1
|
|
;;
|
|
esac
|
|
}
|
|
|
|
checkEnv
|
|
checkEscalationTool
|
|
checkAURHelper
|
|
installCUPS
|
|
installEpsonPrinterDriver
|