diff options
author | Julian Ospald <hasufell@gentoo.org> | 2014-06-02 18:09:33 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2014-06-02 18:09:33 +0000 |
commit | 893a0bef830e25526105ead1c6b2e1d29743b8bb (patch) | |
tree | 2e90a7343ca75b933b53aa36ec7d0d58a5787958 /net-irc/hexchat | |
parent | hide warning if there are no plugins selected (diff) | |
download | gentoo-2-893a0bef830e25526105ead1c6b2e1d29743b8bb.tar.gz gentoo-2-893a0bef830e25526105ead1c6b2e1d29743b8bb.tar.bz2 gentoo-2-893a0bef830e25526105ead1c6b2e1d29743b8bb.zip |
hide warning if there are no plugins selected
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key BDEED020)
Diffstat (limited to 'net-irc/hexchat')
-rw-r--r-- | net-irc/hexchat/ChangeLog | 6 | ||||
-rw-r--r-- | net-irc/hexchat/hexchat-2.10.0.ebuild | 12 | ||||
-rw-r--r-- | net-irc/hexchat/hexchat-9999.ebuild | 12 |
3 files changed, 19 insertions, 11 deletions
diff --git a/net-irc/hexchat/ChangeLog b/net-irc/hexchat/ChangeLog index 6b57553416f7..91c19a26a554 100644 --- a/net-irc/hexchat/ChangeLog +++ b/net-irc/hexchat/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-irc/hexchat # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/hexchat/ChangeLog,v 1.99 2014/06/02 18:06:05 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/hexchat/ChangeLog,v 1.100 2014/06/02 18:09:33 hasufell Exp $ + + 02 Jun 2014; Julian Ospald <hasufell@gentoo.org> hexchat-2.10.0.ebuild, + hexchat-9999.ebuild: + hide warning if there are no plugins selected *hexchat-2.10.0 (02 Jun 2014) diff --git a/net-irc/hexchat/hexchat-2.10.0.ebuild b/net-irc/hexchat/hexchat-2.10.0.ebuild index 0701f0cac33c..7714117e0af8 100644 --- a/net-irc/hexchat/hexchat-2.10.0.ebuild +++ b/net-irc/hexchat/hexchat-2.10.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/hexchat/hexchat-2.10.0.ebuild,v 1.1 2014/06/02 18:06:05 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/hexchat/hexchat-2.10.0.ebuild,v 1.2 2014/06/02 18:09:33 hasufell Exp $ EAPI=5 @@ -58,10 +58,12 @@ pkg_setup() { use plugin-fishlim && myplugins+="plugin-fishlim\n" use plugin-sysinfo && myplugins+="plugin-sysinfo\n" - ewarn "The following plugins/interfaces have been disabled, because" - ewarn "\"plugins\" USE flag is disabled. Check metadata.xml" - ewarn "to get more information or run \"equery u hexchat\"." - ewarn "\n${myplugins}" + if [[ ${myplugins} ]] ; then + ewarn "The following plugins/interfaces have been disabled, because" + ewarn "\"plugins\" USE flag is disabled. Check metadata.xml" + ewarn "to get more information or run \"equery u hexchat\"." + ewarn "\n${myplugins}" + fi fi } diff --git a/net-irc/hexchat/hexchat-9999.ebuild b/net-irc/hexchat/hexchat-9999.ebuild index f00d407d2f26..31ad8a887543 100644 --- a/net-irc/hexchat/hexchat-9999.ebuild +++ b/net-irc/hexchat/hexchat-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/hexchat/hexchat-9999.ebuild,v 1.13 2014/06/02 18:06:05 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/hexchat/hexchat-9999.ebuild,v 1.14 2014/06/02 18:09:33 hasufell Exp $ EAPI=5 @@ -59,10 +59,12 @@ pkg_setup() { use plugin-fishlim && myplugins+="plugin-fishlim\n" use plugin-sysinfo && myplugins+="plugin-sysinfo\n" - ewarn "The following plugins/interfaces have been disabled, because" - ewarn "\"plugins\" USE flag is disabled. Check metadata.xml" - ewarn "to get more information or run \"equery u hexchat\"." - ewarn "\n${myplugins}" + if [[ ${myplugins} ]] ; then + ewarn "The following plugins/interfaces have been disabled, because" + ewarn "\"plugins\" USE flag is disabled. Check metadata.xml" + ewarn "to get more information or run \"equery u hexchat\"." + ewarn "\n${myplugins}" + fi fi } |