Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 05-21-2008, 11:26 AM   #1
Martijn
Connoisseur
Martijn has learned how to read e-booksMartijn has learned how to read e-booksMartijn has learned how to read e-booksMartijn has learned how to read e-booksMartijn has learned how to read e-booksMartijn has learned how to read e-booksMartijn has learned how to read e-books
 
Martijn's Avatar
 
Posts: 68
Karma: 855
Join Date: Jan 2007
Location: Netherlands
Device: iLiad
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?
Martijn is offline   Reply With Quote
Old 05-31-2008, 11:29 PM   #2
Ervserver
Wizard
Ervserver ought to be getting tired of karma fortunes by now.Ervserver ought to be getting tired of karma fortunes by now.Ervserver ought to be getting tired of karma fortunes by now.Ervserver ought to be getting tired of karma fortunes by now.Ervserver ought to be getting tired of karma fortunes by now.Ervserver ought to be getting tired of karma fortunes by now.Ervserver ought to be getting tired of karma fortunes by now.Ervserver ought to be getting tired of karma fortunes by now.Ervserver ought to be getting tired of karma fortunes by now.Ervserver ought to be getting tired of karma fortunes by now.Ervserver ought to be getting tired of karma fortunes by now.
 
Ervserver's Avatar
 
Posts: 2,624
Karma: 1008294
Join Date: Dec 2007
Location: Iowa, USA
Device: Nook Simple Touch
too complicated for me
Ervserver is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre 0.7.6 not detecting readers? maxbookworm Calibre 1 07-02-2010 10:58 PM
Re-detecting a device such as iPad gandor62 Calibre 1 06-18-2010 08:21 PM
Detecting device mpetry Calibre 3 04-16-2010 09:05 PM
not detecting prs300 coolnamehere Calibre 4 03-05-2010 01:44 AM
Detecting chapters Tibor Calibre 4 01-17-2009 01:25 PM


All times are GMT -4. The time now is 12:16 AM.


MobileRead.com is a privately owned, operated and funded community.