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

Re: Packaging Problem (Is preinst really pre?)



Previously Daniel Whelan wrote:
> 
> So, in the preinst for this package, I use db_set to set the debconf
> variables for some packages, then expect the packages to be installed
> (they are listed as Depends: in the control file), then make some manual
> configuration changes in the postinst. So, my question is, is this the
> proper way to be going about doing this?

Depends are only taken into account when configuring a package,
ie at postinst time, preinst can be run in random order. (Unless
you use Pre-Depends of course)

Wichert.

-- 
  _________________________________________________________________
 /wichert@wiggy.net         This space intentionally left occupied \
| wichert@deephackmode.org                    http://www.wiggy.net/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |



Reply to: