On Thu, Oct 23, 2008 at 12:45:32PM +0200, Carlos E. R. wrote:
On Thursday, 2008-10-23 at 12:17 +0200, Lars Müller wrote:
Or to use update-alternatives. Even if there currently are none.
Using update-alternatives might be the best approach being prepare for any unknown change in the future.
What's the intended use of update-alternatives?
To maintain symbolic links determining default commands. As an example see the vim packages. /usr/bin/vi points to /bin/vim, /bin/vim to /etc/alternatives/vim, /etc/alternatives/vim for example to /bin/vim-normal. With update-alternatives you're able to define priorities and you're able to overwrite them. In the vim case this might allow the vendor to setup a useful default depending on the installed packages (vim-base, gvim) while the user is still able to overwrite it. In he case vim-base and gvim are installed try "update-alternatives --config vim". For further details see the man page. The origin is Debian. But nowadays it's used by the majority of Linux verndors. Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany