commit:     9258ac2355aaef05fce7c32e77f3365ba89910d5
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 18 16:36:28 2023 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Sat Mar 18 16:36:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9258ac23

net-analyzer/icinga2: install small files all the time

remove the small-files warning, install vim/nano syntax

Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 net-analyzer/icinga2/icinga2-9999.ebuild | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/net-analyzer/icinga2/icinga2-9999.ebuild 
b/net-analyzer/icinga2/icinga2-9999.ebuild
index 2c5482fe5a8f..e74ff9ec6c08 100644
--- a/net-analyzer/icinga2/icinga2-9999.ebuild
+++ b/net-analyzer/icinga2/icinga2-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -18,7 +18,7 @@ HOMEPAGE="https://icinga.com/";
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="console jumbo-build lto mail mariadb minimal +mysql nano-syntax +plugins 
postgres systemd +vim-syntax"
+IUSE="console jumbo-build lto mail mariadb minimal +mysql +plugins postgres 
systemd"
 
 # Add accounts to DEPEND because of fowners in src_install
 DEPEND="
@@ -120,16 +120,12 @@ src_install() {
        fperms ug+rwX,o-rwx /var/spool/icinga2
        fperms ug+rwX,o-rwx /var/log/icinga2
 
-       if use vim-syntax; then
-               insinto /usr/share/vim/vimfiles
-               doins -r "${WORKDIR}"/${P}/tools/syntax/vim/ftdetect
-               doins -r "${WORKDIR}"/${P}/tools/syntax/vim/syntax
-       fi
+       insinto /usr/share/vim/vimfiles
+       doins -r "${WORKDIR}"/${P}/tools/syntax/vim/ftdetect
+       doins -r "${WORKDIR}"/${P}/tools/syntax/vim/syntax
 
-       if use nano-syntax; then
-               insinto /usr/share/nano
-               doins "${WORKDIR}"/${P}/tools/syntax/nano/icinga2.nanorc
-       fi
+       insinto /usr/share/nano
+       doins "${WORKDIR}"/${P}/tools/syntax/nano/icinga2.nanorc
 }
 
 pkg_postinst() {

Reply via email to