the patch should be:

     $cmd || true
else
-    $cmd "$file" || true
+    $cmd "$file" $2
fi

There is a start page param after the file:

usage: /usr/lib/mupdf/mupdf-x11 [options] file.pdf [page]


- the proposed 'exec' leaves a tmp-file in /tmp !

(- I see no reason for the 'true'?)

Reply via email to