sci-libs/trilinos: fix installation
authorMatthias Maier <tamiko@gentoo.org>
Sat, 25 Apr 2020 04:31:36 +0000 (23:31 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Sat, 25 Apr 2020 04:34:08 +0000 (23:34 -0500)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
sci-libs/trilinos/trilinos-12.18.1.ebuild

index 40ce80833141989c35b3054b6769c4498bd5b8bd..605b4f2f2d09da90ef33ef005756f9794b9a6bf5 100644 (file)
@@ -194,13 +194,12 @@ src_install() {
        cmake-utils_src_install
 
        # Clean up the mess:
-       rm "${ED}"/TrilinosRepoVersion.txt || die "rm failed"
        mv "${ED}"/bin "${ED}/usr/$(get_libdir)"/trilinos || die "mv failed"
        if [ -f "${ED}"/lib/exodus.py ]; then
                mv "${ED}"/lib/exodus.py "${ED}/usr/$(get_libdir)"/trilinos || die "mv failed"
        fi
        if [[ $(get_libdir) != lib ]]; then
-               mv "${ED}"/usr/lib/pkgconfig "${ED}/usr/$(get_libdir)" || die "mv failed"
+               mv "${ED}"/usr/lib/pkgconfig "${ED}/usr/$(get_libdir)"
        fi
 
        #