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

Re: automatic installation



On Wed, Jul 14, 1999 at 01:08:57PM -0300, Lalo Martins wrote:
> On Sat, Jul 10, 1999 at 01:26:38AM +0200, Massimo Dal Zotto wrote:
> > 
> > An install program written entirely in C can maybe save some disk space but
> > is very rigid and difficult to understand and customize. In my opinion this
> > kind of things should be implemented as shell script whenever possible.
> > They are much easier to write, to debug and change if needed.
> 
> ...
> 
> > My install program is written as zsh script. It makes use of external tools,
> > like grep, awk, sed, and of whiptail to present nicely formatted messages
> > and user interaction dialogs. I choose zsh instead of ash because it is 99%
> > compatible with sh and bash, it has history and completion and it is much
> > smaller than bash. I didn't ever consider using C or any other compiled
> > language. Debugging a C program in a 4MB ramdisk is only for masochists.
> 
> I have to agree with this approach. But wouldn't Perl be
> faster/more powerful? (I really hate Perl as a language and I
> really love zsh as a shell, but not the other way around)
> 
> 
> Also, does your -getconfig program support any kind of
> network-centric installation? (see my other message for what I
> mean and what I'd like to see)
> 

We need _one_ template to get answers from the user. The name isn´t
importent and the program behind this template ist´t importent.

It´t don´t need networking. If you need a special networking support to
get the data from a database from the moon, you make: 
rm /sbin/getconfig
cp /mnt/getconfig.moon-db /sbin/getconfig
on the boot-floppy and you have it.

We need one template with a nice syntax and a program with this syntax
to get the answers from the keyboard. And if all package use it, it is
all nice.


Grisu
-- 
Michael Bramer -- a Debian Linux Developer        http://www.debian.org
PGP: finger grisu@master.debian.org   --   Linux Sysadmin   --  Use Debian Linux
"Now let me explain why this makes intuitive sense."  --- Prof. Larry Wasserman

Attachment: pgp8tcAojBlj3.pgp
Description: PGP signature


Reply to: