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

Re: HOWTO: Source a common shell script between DEBIAN/config and DEBIAN/preinst



On 01/18/2011 03:13 PM, harish badrinath wrote:
> Given that i was told that you can deterministically determine which
> file would run first DEBIAN/control _or_ DEBIAN/preinst, I have this
> following query.
>
> I want to source a common file between these two scripts to ensure
> that  if the package cant automatically detect sane values, it prompt
> the user for input as the last resort. The values given itself are
> trivial in nature, but if not done correctly would make the system
> unusable by locking all the users out of the machine.
>   
You know that your scripts can be run non-interactively and that this
is a *strong* requirement of Debian, right?

Thomas Goirand (zigo)


Reply to: