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

update-alternatives.



Hello,

Nano needs to provide an alternative for editor, and browsing the postinst
files of other editors, I saw this on joe:
update-alternatives --install /usr/bin/editor editor /usr/bin/joe 70 \
  --slave /usr/man/man1/editor.1.gz editor.1.gz /usr/man/man1/joe.1.gz

How do I decide my priority? For example, vim has a 20 priority. I have not
seen anything in the policy regarding this.

Also, I see that vim, elvis and nvi provide an alternative for "vi", (in
vim's case, priority 20). I think it's not against the policy if I provide
an alternative for "pico"? Would this be evil? I think it wouldn't affect
the original pico in any way, and it's a good way to provide a free
replacement for a non-free package. Thoughts?
If everything is ok, I'll upload a new nano package this night.

Thanks,

Jordi

-- 
Jordi Mallach Pérez || jordi@pusa.informat.uv.es   || Rediscovering Freedom,
ka Oskuro in RL-MUD || jordi@sindominio.net        || Using Debian GNU/Linux

http://sindominio.net  GnuPG public information:      pub  1024D/917A225E 
telnet pusa.uv.es 23   73ED 4244 FD43 5886 20AC  2644 2584 94BA 917A 225E

Attachment: pgpIKrzifUFHr.pgp
Description: PGP signature


Reply to: