net-analyzer/rrdtool: Quote REPLACING_VERSIONS (bug #561228).
authorJeroen Roovers <jer@gentoo.org>
Wed, 23 Sep 2015 04:20:26 +0000 (06:20 +0200)
committerJeroen Roovers <jer@gentoo.org>
Wed, 23 Sep 2015 04:20:48 +0000 (06:20 +0200)
Package-Manager: portage-2.2.20.1

net-analyzer/rrdtool/rrdtool-1.5.4.ebuild

index 1505e3be6eb29ec64d89eca632b1f1aec641bb13..dfa9e20b5cf329853bbb1ced715c7fca446a5019 100644 (file)
@@ -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."