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 authored Sep 22, 2024
1 parent c08a292 commit c5a2e4e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions script/scantofile-0.2.4-1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@
"${FTP_HOST}" \
"${FTP_PATH}" \
"${output_pdf_file}"

if [ -n "${REMOVE_ORIGINAL_AFTER_OCR}" ]; then
rm ${output_pdf_file}
fi
) &
fi
) &
Expand Down

0 comments on commit c5a2e4e

Please sign in to comment.