detecting ipkg errors?
Hi,
I've been playing around with ipkg and installers and I ran into something:
If my postinst control script exits with an error, the ipkg program prints a nice ERROR, indicating that the script had an abnormal exit code, and terminates.
However, ipkg itself terminates with an exit code of 0, so I cannot detect from my installer script, which calls ipkg, that there was an error (at least not by inspecting the exit code).
Is there any way around this?
|