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

Re: Interactive installation [was Re: Caldera installation...]



"J.H.M. Dassen" <jdassen@wi.leidenuniv.nl> writes:

[...about labeling for interactive/non-interactive...]
   It might make more sense to have labelling for individual scripts, rather
   than packages as a whole (e.g. some packages don't require interaction on
   installation, but do on removal).

I believe that all installation scripts are indeed that, right?  i.e.,
we don't have binaries for {pre,post}{inst,rm}, they're always sh or
perl, scripts.

In that case, we could label them with stylized comments at the
beginning or the end:

#! /bin/sh
#-# Interactive: no
[...]

Just trying to suggest a possible mechanism.  The #-# parsable comment
indicator characters could of course be replaced with whatever was
chosen as appropriate.
-- 
"To the engineer, the world is a toy box full of sub-optimized and
 feature-poor toys." --Scott Adams


Reply to: