CRUX : Home

Home :: Documentation :: Download :: Development :: Community :: Wiki :: Ports :: Bugs :: Links :: About

Dos and Don'ts for pre- and post-install in ports

Ports should be built with the idea in mind that people won't execute the *-install scripts. They're here to simplify installation of large software packages like gnome or kde which fail to build if post-install commands are not executed inbetween certain ports.

We don't want to encourage people to not know what happens on their system. Example: If a port adds a user to the system using pre-install, the CRUX user will most certainly not know about this and therefore forget to remove the user account if she/he removes the port. If packagers start to create *-install scripts for trivial ports, people might just blindly execute the scripts and not know what this is all about. A scenario I'd like to avoid :-)