summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2015-11-20 17:41:17 +0100
committerGuilherme Amadio <amadio@gentoo.org>2015-11-20 17:45:55 +0100
commit7d29a1675caa8c990854c552ccf3cb594ee7c7c0 (patch)
tree8ad92e969deb97107ce92b3b437f211865730305
parentsci-physics/root: Remove workaround to install some examples (diff)
downloadgentoo-7d29a1675caa8c990854c552ccf3cb594ee7c7c0.tar.gz
gentoo-7d29a1675caa8c990854c552ccf3cb594ee7c7c0.tar.bz2
gentoo-7d29a1675caa8c990854c552ccf3cb594ee7c7c0.zip
sci-physics/root: install distributed INSTALL file
PS: workaround with cat created a sandbox violation. Package-Manager: portage-2.2.25
-rw-r--r--sci-physics/root/root-6.04.06.ebuild8
1 files changed, 1 insertions, 7 deletions
diff --git a/sci-physics/root/root-6.04.06.ebuild b/sci-physics/root/root-6.04.06.ebuild
index 90f9f5ed5713..f498a73c472f 100644
--- a/sci-physics/root/root-6.04.06.ebuild
+++ b/sci-physics/root/root-6.04.06.ebuild
@@ -421,7 +421,7 @@ cleanup_install() {
rm -r etc/root/daemons || die
# these should be in PATH
mv etc/root/proof/utils/pq2/pq2* usr/bin/ || die
- rm ${DOC_DIR#/}/{INSTALL,LICENSE} || die
+ rm ${DOC_DIR#/}/INSTALL || die
use examples || rm -r ${DOC_DIR#/}/examples || die
# clean hardcoded sandbox paths
@@ -460,12 +460,6 @@ src_install() {
# do not copress files used by ROOT's CLI (.credit, .demo, .license)
docompress -x "${DOC_DIR}"/{CREDITS,examples/tutorials}
- # needed for .license command to work
- cat > "${DOC_DIR}/LICENSE" <<- EOF
- Please visit
- https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
- for the full license test
- EOF
}
pkg_postinst() {