[Rule-list] Installing RPM without docs
Michael Fratoni
mfratoni at tuxfan.homeip.net
Thu May 30 06:06:37 EEST 2002
-----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-----
_______________________________________________
Rule Project HOME PAGE: http://www.rule-project.org/rule/
Original Rule Development Site http://savannah.gnu.org/projects/rule/Rule-list at mail.freesoftware.fsf.org
http://mail.freesoftware.fsf.org/mailman/listinfo/rule-list
This full static mirror of the Run Up to Date Linux Everywhere Project mailing list, originally hosted at http://lists.hellug.gr/mailman/listinfo/rule-list, is kept online by Free Software popularizer, researcher and trainer Marco Fioretti. To know how you can support this archive, and Marco's work in general, please click here