remove traces of a unfinished notification script that never worked

This commit is contained in:
matu6968 2024-11-01 11:44:16 +01:00
parent 5bc01de7df
commit f16b69a77d

View File

@ -25,11 +25,9 @@ for file in "$1"; do
cp $1 $HOME/imagelog cp $1 $HOME/imagelog
echo "Printing text" echo "Printing text"
lpr -o portrait -o media=A4 $1 -P $printer # if you are using a different printer that requires different commands to print, change this part of the code. lpr -o portrait -o media=A4 $1 -P $printer # if you are using a different printer that requires different commands to print, change this part of the code.
ntfymailsend $3
else else
echo "Printing text" echo "Printing text"
lpr -o portrait -o media=A4 $1 -P $printer # if you are using a different printer that requires different commands to print, change this part of the code. lpr -o portrait -o media=A4 $1 -P $printer # if you are using a different printer that requires different commands to print, change this part of the code.
ntfymailsend $3
fi fi
else else
echo "Error: Invalid file type or, ePrint clone only accepts the following MIME types: text/*, image/*, application/pdf" echo "Error: Invalid file type or, ePrint clone only accepts the following MIME types: text/*, image/*, application/pdf"