diff options
author | David Seifert <soap@gentoo.org> | 2019-08-11 13:19:30 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-08-11 13:19:30 +0200 |
commit | 9f9b0bb5bb5749f26e687d796fba9911581fdb30 (patch) | |
tree | cbcf7136d5942a4db775ca8c27756b2dc26e8bd9 /dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild | |
parent | dev-libs/xapian: [QA] Fix missing trailing slash (diff) | |
download | gentoo-9f9b0bb5bb5749f26e687d796fba9911581fdb30.tar.gz gentoo-9f9b0bb5bb5749f26e687d796fba9911581fdb30.tar.bz2 gentoo-9f9b0bb5bb5749f26e687d796fba9911581fdb30.zip |
dev-php/PEAR-PEAR: [QA] Fix missing trailing slash
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild')
-rw-r--r-- | dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild index f7fb52913b5c..8472eb060991 100644 --- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild +++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild @@ -164,14 +164,14 @@ pkg_postinst() { # Register the package from the package.xml file # It is not critical to complete so only warn on failure - if [[ -f "${EROOT}usr/share/php/.packagexml/${MY_P}.xml" ]] ; then - "${EROOT}usr/bin/peardev" install -nrO --force \ - "${EROOT}usr/share/php/.packagexml/${MY_P}.xml" 2> /dev/null \ + if [[ -f "${EROOT}/usr/share/php/.packagexml/${MY_P}.xml" ]] ; then + "${EROOT}/usr/bin/peardev" install -nrO --force \ + "${EROOT}/usr/share/php/.packagexml/${MY_P}.xml" 2> /dev/null \ || ewarn "Failed to insert package into local PEAR database" fi } pkg_prerm() { # Uninstall known dependency - "${EROOT}usr/bin/peardev" uninstall -nrO "pear.php.net/PEAR" + "${EROOT}/usr/bin/peardev" uninstall -nrO "pear.php.net/PEAR" } |