Re: emacs and /etc/alternatives

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

 



On Thu, 2007-03-08 at 12:02 -0500, Chip Coldwell wrote:
> Currently, there are two versions of GNU emacs that can be installed:
> emacs and emacs-nox.  The latter runs in a terminal emulator, the
> former uses X windows.  I'm cleaning up the emacs spec file to meet
> the Fedora review requirements, and I think the right thing to do
> would be to have
> 
> /usr/bin/emacs-22.0.95
> /usr/bin/emacs-22.0.95-nox
> /usr/bin/emacs -> /etc/alternatives/emacs
> /etc/alternatives/emacs -> /usr/bin/emacs-22.0.95[-nox]
> 
> In other words, let the /etc/alternatives symlink select which of the
> two versions runs by default.
> 
> Is this the right thing to do?
> If so, should the emacs-nox package have a "Conflicts: emacs" and
> vice-versa?
> 

If the two packages conflict, they cannot be installed in parallel, and
thus you don't need the alternatives mechanism to pick one...

But thats probably the best solution: just let the two packages
conflict. 

--
Fedora-maintainers mailing list
Fedora-maintainers@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers

--
Fedora-maintainers-readonly mailing list
Fedora-maintainers-readonly@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux