rule-list
[Top][All Lists]
Advanced

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

Re: [Rule-list] Installing RPM without docs


From: Michael Fratoni
Subject: Re: [Rule-list] Installing RPM without docs
Date: Wed, 29 May 2002 23:06:37 -0400
User-agent: KMail/1.4.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 29 May 2002 11:13 pm, Marco Fioretti wrote:

> > For the slinky installer, easily done. (And I like the idea.)
> > It would only require the addition of a few lines to the scripts.
> >
> > For miniconda, probably, but it would require some hacking.
> > I'll have to look into it.
>
> OK. We have also to keep in mind that this should coexist with the
> post install script we are planning to run, to remove unneeded files
> (which only *sometimes* are docs). Those scripts should not abort or
> complain trying to remove dirs/files never installed, and *not* remove
> docs (without asking) if the user said "keep them".

Easily handled, I believe. For slinky, we just ask the question, store the 
answer, and export it. The post install script can check the value of the 
exported variable, and determine what it should or should not remove.

As for aborting or printing error messages, 'rm -Rf /path/to/be/nuked' 
will do exactly as it's told, and never complain if the file doesn't 
exist. It will of course also comply with 'rm -Rf /' when run as root. :)

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.2 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjz1lz0ACgkQn/07WoAb/St45gCeMRgJFZgZOuXvbvtR8RAgVZXM
BsYAnijlEoCjOQQwUl4omcZcN0huMAHt
=6sxC
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]