[Git-commits] [grml/grml-live] 0e8474: GRMLBASE/90-update-alternatives: support vim >=2:8...

Michael Prokop noreply at github.com
Tue Oct 22 12:44:05 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-live
  Commit: 0e8474f18ca945da03ab62f21f41e56014c7878e
      https://github.com/grml/grml-live/commit/0e8474f18ca945da03ab62f21f41e56014c7878e
  Author: Michael Prokop <mika at grml.org>
  Date:   2019-10-22 (Tue, 22 Oct 2019)

  Changed paths:
    M etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives

  Log Message:
  -----------
  GRMLBASE/90-update-alternatives: support vim >=2:8.1.2136-1

vim 2:8.1.2136-1 moved /usr/bin/vim.* into /usr/libexec/vim/,
so we need to check for its base path.

Also vim-gtk became a transitional package for vim-gtk3 and
the binary is called vim.gtk3, add according additional check.

Fixes:

| Setting vim.gtk as editor using update-alternatives.
| update-alternatives: error: alternative /usr/bin/vim.gtk for editor not registered; not setting
| GRMLBASE/90-update-alternatives FAILED with exit code 2.




More information about the Git-commits mailing list