diff options
Diffstat (limited to 'app-admin/diamond')
-rw-r--r-- | app-admin/diamond/diamond-4.0.515.20200620.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app-admin/diamond/diamond-4.0.515.20200620.ebuild b/app-admin/diamond/diamond-4.0.515.20200620.ebuild index 8438dac5e0ba..938b0d14ce90 100644 --- a/app-admin/diamond/diamond-4.0.515.20200620.ebuild +++ b/app-admin/diamond/diamond-4.0.515.20200620.ebuild @@ -64,7 +64,11 @@ python_install() { export VIRTUAL_ENV=1 distutils-r1_python_install python_optimize - mv "${ED}"/usr/etc "${ED}"/ || die + # since python3.8 installation goes straight into /etc + [[ -d ${ED}/etc ]] && [[ -d ${ED}/usr/etc ]] && rm -Rf "${ED}"/usr/etc + if [[ -d ${ED}/usr/etc ]] ; then + mv "${ED}"/usr/etc "${ED}"/ || die + fi rm "${ED}"/etc/diamond/*.windows # won't need these sed -i \ -e '/pid_file =/s:/var/run:/run:' \ |