|
From: Bruce S. <bw...@ar...> - 2003-06-10 15:45:00
|
> >What I'm thinking now is we'll need another file for help variables. > >i.e. In the scripts/* files, in addition to: > > > >echo "INSTALL_$MYNAME=no" >> $SOFTWAREFILE > >echo "START_$MYNAME=no" >> $CONFIGFILE > > > >We'll also add in each script: > > > >echo "HELP_$MYNAME=\"one line of help text\"" >> $HELPFILE > > > >So "setup", and other programs, can source that file too. > > > >Unless you can think of a better way to handle it? > > I think this is the simplest way. Why not start going this road and we can > change it later. Good. That's the way I've been going. :-) > Just make sure you use functions and make it modulI'm trying.ar, that safes you a lot > of pain later. Definitely! > Also, make sure the setup script doesn't run into an error when there's no > help available. You could. i.e. use the text "no help available" as > standard. Right now it displays a blank line if there is nothing available (no error). - BS |