From bb78d67565e6b8cd6a004bd8ccbe82036638caa8 Mon Sep 17 00:00:00 2001 From: AnthonyAxenov Date: Wed, 31 Jul 2024 23:23:19 +0800 Subject: [PATCH] canon-mg2500 misc --- install/canon-mg2500 | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/install/canon-mg2500 b/install/canon-mg2500 index eaf7942..7047e21 100755 --- a/install/canon-mg2500 +++ b/install/canon-mg2500 @@ -1,11 +1,17 @@ #!/bin/bash ##makedesc: Install Canon Pixma MG2500 + ppa +source `dirname $0`/../helpers || exit 255 -echo -echo "===============================================" -echo "Installing Canon Pixma MG2500 + ppa..." -echo "===============================================" -echo +title -sudo add-apt-repository -y ppa:thierry-f/fork-michael-gruz -sudo apt install -y cnijfilter-mg2500series scangearmp-mg2500series +sudo add-apt-repository -y ppa:thierry-f/fork-michael-gruz && \ + sudo apt install -y \ + cnijfilter-mg2500series \ + scangearmp-mg2500series + +[ $? = 0 ] && { + echo + success "Canon Pixma MG2500 installed!" + info "Now you must add a new printer in your system." + echo +}