Gentoo Archives: gentoo-pms

From: Ulrich Mueller <ulm@g.o>
To: gentoo-pms@l.g.o
Subject: [gentoo-pms] REPLACING_VERSIONS
Date: Mon, 31 Jan 2011 18:24:03
1 PMS currently says: "A whitespace-separated list of versions of this
2 package (including revision, if specified) that are being replaced
3 (uninstalled or overwritten) as a result of this install."
5 Shouldn't the spec guarantee that it's the empty string (i.e., not
6 a string containing arbitrary whitespace) if the list is empty?
7 Otherwise simple binary tests like [[ -n ${REPLACING_VERSIONS} ]]
8 cannot be done.
10 For REPLACED_BY_VERSION, it is explicitly specified: "The single
11 version ..., or an empty string otherwise."
13 Ulrich


Subject Author
Re: [gentoo-pms] REPLACING_VERSIONS Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>