mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
dev-php/phpunit: Change absolute symlinks into relative ones
Package-Manager: Portage-2.3.6, Repoman-2.3.3
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
@@ -28,7 +28,7 @@ src_install() {
|
||||
insinto /usr/share/php/phpunit
|
||||
insopts -m755
|
||||
newins "${DISTDIR}"/${PHPUNIT_PHAR} phpunit.phar
|
||||
dosym /usr/share/php/phpunit/phpunit.phar /usr/bin/phpunit
|
||||
dosym ../share/php/phpunit/phpunit.phar /usr/bin/phpunit
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
@@ -28,7 +28,7 @@ src_install() {
|
||||
insinto /usr/share/php/phpunit
|
||||
insopts -m755
|
||||
newins "${DISTDIR}"/${PHPUNIT_PHAR} phpunit.phar
|
||||
dosym /usr/share/php/phpunit/phpunit.phar /usr/bin/phpunit
|
||||
dosym ../share/php/phpunit/phpunit.phar /usr/bin/phpunit
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
@@ -32,7 +32,7 @@ src_install() {
|
||||
insinto /usr/share/php/phpunit
|
||||
insopts -m755
|
||||
newins "${DISTDIR}"/${PHPUNIT_PHAR} phpunit.phar
|
||||
dosym /usr/share/php/phpunit/phpunit.phar /usr/bin/phpunit
|
||||
dosym ../share/php/phpunit/phpunit.phar /usr/bin/phpunit
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
@@ -46,7 +46,7 @@ src_install() {
|
||||
doins "${FILESDIR}/autoload.php"
|
||||
exeinto /usr/share/php/PHPUnit
|
||||
doexe phpunit
|
||||
dosym /usr/share/php/PHPUnit/phpunit /usr/bin/phpunit
|
||||
dosym ../share/php/PHPUnit/phpunit /usr/bin/phpunit
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
Reference in New Issue
Block a user