Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-5178

Conditionally install bash/zsh completions for openrc

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • None

      Both BASH and ZSH completions are optional and should be installed if according USE flag is set. Right now BASH completions are installed always and ZSH completions are not installed at all. This is the patch for sys-apps/openrc-0.35.0-beta1-r1:

      16c16,19
      < IUSE="audit debug ncurses pam newnet prefix -netifrc selinux static-libs unicode kernel_linux kernel_FreeBSD"
      ---
      > IUSE="
      > 	audit debug ncurses pam newnet prefix -netifrc selinux static-libs
      > 	unicode kernel_linux kernel_FreeBSD bash-completion zsh-completion
      > "
      73c76,77
      < 		MKBASHCOMP=yes
      ---
      > 		MKBASHCOMP=$(usex bash-completion)
      > 		MKZSHCOMP=$(usex zsh-completion)
      

            Unassigned Unassigned
            ixti ixti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: