app-misc/hyfetch: update mv->cp on src_install

- when multiple python interpreters are enabled via PYTHON_COMPAT, mv'ing the
   source file fails after first iteration since it's gone for good.

Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Joonas Niilola 2024-05-13 21:40:14 +03:00
parent c54f3d3ea8
commit 34e85565b0
No known key found for this signature in database
GPG Key ID: 7383942B8DC06962
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ python_install() {
distutils-r1_python_install
dodir /usr/bin/
mv neofetch "${D}/usr/bin/neowofetch" || die
cp neofetch "${D}/usr/bin/neowofetch" || die
rm -r "${D}/usr/lib/${EPYTHON}/site-packages/hyfetch/scripts" || die
}

View File

@ -37,7 +37,7 @@ python_install() {
distutils-r1_python_install
dodir /usr/bin/
mv neofetch "${D}/usr/bin/neowofetch" || die
cp neofetch "${D}/usr/bin/neowofetch" || die
rm -r "${D}/usr/lib/${EPYTHON}/site-packages/hyfetch/scripts" || die
}