[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems mixing debconf and ucf in a perl script



On Thu, 24 Apr 2003 15:26:46 -0700, Brian Nelson <pyro@debian.org> said: 

> I'm trying to implement ucf in a perl postinst script, but I'm
> running into problems due to debconf's fuckage with the file
> descriptors, I think.

> I call stop() as soon as I'm done interfacing with debconf, but that
> doesn't seem to be good enough when I get to ucf.  First, I tried

>   system("/usr/bin/ucf $tmpfile $realfile");

> but that hung due to ucf listening on but not receiving anything
> from fd 0. 


	This may be a stupid question, but do you get the same
 behaviour when you try:
 system '/usr/bin/ucf', "$tmpfile", "$realfile";

	manoj
-- 
God requireth not a uniformity of religion. Roger Williams
Manoj Srivastava   <srivasta@debian.org>  <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



Reply to: