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

debconf in while read foo; ... loop?

Hi there, 

I am having a problem with using debconf in a maintainer script. Namely
I am iterating over the list of directories configured for the ldap
server and in the loop I am using db_get to query debconf. 

Problem: The answer from debconf never arrives since stdin is reading
the pipe of the while loop. I can get that info earlier but the db_get
is deep in a stack of functions and it semantically fits there. 

Any idea how to access debconf when stdin is redirected?


Attachment: signature.asc
Description: Digital signature

Reply to: