diff --git a/README.md b/README.md index 9fd978a..531b823 100644 --- a/README.md +++ b/README.md @@ -11,21 +11,7 @@ TODO: * [ ] epson http://download.ebz.epson.net/dsc/search/01/search/searchModuleFromResult -DONE: ----- - -* [x] proper install process -* [x] faster + idempotent -* [x] Bookworm ready - - -requirements before installation process ----------------------------------------- - -* curl -* git - -install one-liner +install one-liner (twice if logout) ----------------- `sudo apt install -y curl git && curl https://git.artcode.re/pvincent/debian-gnome/raw/branch/main/src/install.sh | bash -s --` \ No newline at end of file diff --git a/src/trixie.sh b/src/trixie.sh index 01ed24a..fc69bb1 100755 --- a/src/trixie.sh +++ b/src/trixie.sh @@ -488,6 +488,28 @@ function install_flatpak { # flatpak install -y net.jami.Jami } +function install_printers { + echo "# install printers" + echo "=================" + epson_package=$(xdg-user-dir DOWNLOAD)/epson-inkjet-printer.deb + if [[ ! -f $epson_package ]]; then + curl -o $epson_package "https://git.artcode.re/datalove/printers/raw/branch/main/epson-inkjet-printer-escpr_1.8.6-1_amd64.deb" + sudo dpkg -i $epson_package + echo "epson printer installed!" + else + echo "epson printer already installed!" + fi + + if ! dpkg -l hplip | grep -q ^ii; then + sudo apt install -y hplip + echo "hp printer installed!" + else + echo "hp printer already installed!" + fi + + # TODO: canon missing! +} + function final_word_or_logout { echo if [[ $LOGOUT_REQUIRED == true ]]; then @@ -517,6 +539,7 @@ tilix_default_terminal clear_system_extensions gnome_extensions install_flatpak +install_printers install_firefox firefox_addons firefox_settings