On Thu, Apr 10, 2003 at 11:23:05AM +0800, Niall Young wrote: > I've got a postinst that seems to be executing all code fine with > `set -ev` but won't actually exit back to the shell. > > I'm running a perl script halfway through and it exits cleanly, but > if I comment it out the postinst finally exits. Uncomment it and > the postinst hangs.. Any ideas? Does anything trap a postinst exit?
It helps if you include a copy of the problematic script. My guess is that you are using debconf, and have not read this: zgrep hang /usr/share/doc/debconf-doc/tutorial.txt.gz -- - mdz

