Index: openacs-4/packages/search/tcl/search-convert-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/search/tcl/search-convert-procs.tcl,v diff -u -r1.5.2.5 -r1.5.2.6 --- openacs-4/packages/search/tcl/search-convert-procs.tcl 13 Jun 2022 15:30:47 -0000 1.5.2.5 +++ openacs-4/packages/search/tcl/search-convert-procs.tcl 13 Dec 2022 14:53:33 -0000 1.5.2.6 @@ -48,7 +48,7 @@ application/pdf { if {![util::file_content_check -type pdf -file $filename]} { ns_log warning "search: $filename ($mime_type) is not a pdf file; skip indexing" - file delete -- $tmp_filename + file delete -- $tmp_filename return "" } set convert_command {pdftotext $filename $tmp_filename} @@ -63,7 +63,7 @@ application/vnd.oasis.opendocument.spreadsheet-template { if {![util::file_content_check -type zip -file $filename]} { ns_log warning "search: $filename ($mime_type) is not a zip file; skip indexing" - file delete -- $tmp_filename + file delete -- $tmp_filename return "" } set convert_command {[util::which unzip] -p $filename content.xml >$tmp_filename}