04-28-2021, 04:40 PM
(This post was last modified: 04-28-2021, 04:41 PM by Zebulon Walton.)
(04-28-2021, 04:16 PM)calinb Wrote: Zebulon,
I found this bug (non-POSIX syntax in the /usr/share/megapixels/postprocess.sh). Then I patched my script and reported it to Martijnj. He promptly squashed the tiny (but deadly bug) in his source. I guess it still hasn't rolled out in a Mobian update / upgrade yet?
All you need to do is change == to = to make postprocess.sh work, like this:
Code:- if [ "$CONVERT" == "convert" ]; then
+ if [ "$CONVERT" = "convert" ]; then
As documented here:
https://git.sr.ht/~martijnbraam/megapixe...process.sh
I thought I described my fix in my last posts in this thread (after mucking my way through the debug effort).
I get .dng and .jpg now so I need to double check that you have the same helper aps that I'm using, which I'll do later today.
-Cal
Must have missed that, I'll make the change and see how it works, thanks!