diff --git a/srcpkgs/libvirt/template b/srcpkgs/libvirt/template index 51c27d51225..359e53a7c15 100644 --- a/srcpkgs/libvirt/template +++ b/srcpkgs/libvirt/template @@ -23,7 +23,8 @@ makedepends="perl pkg-config readline-devel libcap-ng-devel libnl3-devel post_install() { # Remove static files. rm -f ${DESTDIR}/usr/lib/libvirt/connection-driver/*.a - vmove "lib/*" usr/lib + vmkdir usr/lib + mv ${DESTDIR}/lib/* ${DESTDIR}/usr/lib rm -rf ${DESTDIR}/etc/sysconfig # Remove sysconfig specific stuff from systemd services. sed -i -e "/EnvironmentFile.*/d;" ${DESTDIR}/usr/lib/systemd/system/*.service