PDF: pdftk as snap (ubuntu): print warning about pdf attachments if TMPDIR does not belong to user

This commit is contained in:
Jean-Francois Dockes
2020-08-20 11:27:12 +02:00
parent 1d7868d93c
commit 2c0fd8502a
3 changed files with 31 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh
topdir=`dirname $0`/..
. $topdir/shared.sh
initvariables $0
(
recollq -S url '"Rosetten von Spitzwegerich"'
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
checkresult
+2
View File
@@ -0,0 +1,2 @@
1 results
application/pdf [file:///home/dockes/projets/fulltext/testrecoll/pdfattach/Turnierausschreibung.pdf] [Rezept] 57269 bytes