Skip to content

Commit

Permalink
Update scantofile-0.2.4-1.sh
Browse files Browse the repository at this point in the history
added removal on non-OCR file
  • Loading branch information
PhilippMundhenk committed Sep 23, 2024
1 parent 04cf4de commit f0970ba
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions script/scantofile-0.2.4-1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,15 @@
"${FTP_PASSWORD}" \
"${FTP_HOST}" \
"${FTP_PATH}" \
<<<<<<< HEAD
"/scans/${date}-ocr.pdf"
=======
"${output_pdf_file}"

if [ -n "${REMOVE_ORIGINAL_AFTER_OCR}" ]; then
rm ${output_pdf_file}
fi
>>>>>>> Update scantofile-0.2.4-1.sh
) &
fi
) &
Expand Down

0 comments on commit f0970ba

Please sign in to comment.