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

Re: User interaction in postinst



* Roger Leigh 

| >From what I have read about debconf, the questions it asks are static.
| However, in this case, I can't generate the questions until the
| package is installed: the translations are gettext .mo files in the
| gimpprint-locales package (which may be not installed or incomplete),
| and the list of printer drivers is extracted from libgimpprint.so.1 by
| genppd at run-time (and the list of printers changes as new ones are
| added).
| 
| Is using debconf possible in this case?  Preconfiguring will fail, as
| I can't get the data to list at that point.  The "multiselect" widget
| type is just what I'm looking for, though.

db_subst in the postinst, or make it possible to run it after the
package has been installed?

-- 
Tollef Fog Heen                                                        ,''`.
UNIX is user friendly, it's just picky about who its friends are      : :' :
                                                                      `. `' 
                                                                        `-  



Reply to: