www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/05/16/19:05:33

Sender: richdawe AT bigfoot DOT com
Message-ID: <373EFB50.1F3498A5@bigfoot.com>
Date: Sun, 16 May 1999 18:07:28 +0100
From: Richard Dawe <richdawe AT bigfoot DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.1 i586)
MIME-Version: 1.0
To: DJGPP workers <djgpp-workers AT delorie DOT com>
Subject: Re: DSM/scripting spec, version 0.1
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990516134714 DOT 26252R-100000 AT is>
Reply-To: djgpp-workers AT delorie DOT com

Hello.

Eli Zaretskii wrote:
> > How many packages are really going to require scripts anyhow?
> 
> It depends on how zippo is going to work.  Almost every package, at
> least those from GNU, needs you to run install-info.  If this is part
> of the scripts feature, then many packages will need it.

Since we are providing install-info, we can assume it's trusted. Why not
just have zippo run install-info automatically? Or maybe have some scripts
compiled into zippo that are run by another directive:

builtin-post-install-script:

This could occur multiply, e.g.

builtin-post-install-script: instinfo
builtin-post-install-script: echo "Hello Mum"

> Our bitter experience is that READMEs don't solve problems for too
> many people.  How many people would dismiss the README without reading
> it?  Half? 80%? wanna bet? ;-)

Er, me for a start <looks sheepish>. I've never used install-info either.
So, when I get this working, at least I'll be able to read all the READMEs
I've never looked at before.

> Perhaps this (i.e. whether the README is displayed before or after the
> installation) should be a part of the script specification; and maybe
> we need to allow for two parts of README, to be displayed bafore and
> after.

Indeed - new script directives:

pre-install-readme: [File name]
post-install-readme: [File name]

I suppose for completeness:

pre-uninstall-readme: [File name]
post-uninstall-readme: [File name]

> I wonder who would actually go to the length of using all those fine
> features? ;-)

I guess it depends how many I code! Seriously though, I think it will
useful even I don't put everything in.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019