sci-physics/root: install distributed INSTALL file
authorGuilherme Amadio <amadio@gentoo.org>
Fri, 20 Nov 2015 16:41:17 +0000 (17:41 +0100)
committerGuilherme Amadio <amadio@gentoo.org>
Fri, 20 Nov 2015 16:45:55 +0000 (17:45 +0100)
PS: workaround with cat created a sandbox violation.

Package-Manager: portage-2.2.25

sci-physics/root/root-6.04.06.ebuild

index 90f9f5ed5713e6b820de05d9eecccb0e9166f346..f498a73c472faa575ae05e4ab516a34c97fd5180 100644 (file)
@@ -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() {