commit:     24f3d342341598b28f7b21cf72d5bf0a6187bea7
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 23 04:20:26 2015 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Sep 23 04:20:48 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24f3d342

net-analyzer/rrdtool: Quote REPLACING_VERSIONS (bug #561228).

Package-Manager: portage-2.2.20.1

 net-analyzer/rrdtool/rrdtool-1.5.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/rrdtool/rrdtool-1.5.4.ebuild 
b/net-analyzer/rrdtool/rrdtool-1.5.4.ebuild
index 1505e3b..dfa9e20 100644
--- a/net-analyzer/rrdtool/rrdtool-1.5.4.ebuild
+++ b/net-analyzer/rrdtool/rrdtool-1.5.4.ebuild
@@ -173,7 +173,7 @@ src_install() {
 }
 
 pkg_postinst() {
-       if [[ ${REPLACING_VERSIONS} -le 1.3 ]]; then
+       if [[ "${REPLACING_VERSIONS}" -le 1.3 ]]; then
                ewarn "Since version 1.3, rrdtool dump emits completely legal 
xml.  Basically this"
                ewarn "means that it contains an xml header and a DOCTYPE 
definition.  Unfortunately"
                ewarn "this causes older versions of rrdtool restore to be 
unhappy."

Reply via email to