diff --git a/srcpkgs/libgudev/template b/srcpkgs/libgudev/template index 86f8e271e70..3cee69ced6a 100644 --- a/srcpkgs/libgudev/template +++ b/srcpkgs/libgudev/template @@ -29,7 +29,9 @@ do_install() { fi mv install_gudev/usr/include/gudev* ${DESTDIR}/usr/include mv install_gudev/usr/lib/pkgconfig/gudev* ${DESTDIR}/usr/lib/pkgconfig - mv install_gudev/usr/share/gir-1.0 ${DESTDIR}/usr/share + if [ -d install_gudev/usr/share/gir-1.0 ]; then + mv install_gudev/usr/share/gir-1.0 ${DESTDIR}/usr/share + fi mv install_gudev/usr/lib/python* ${DESTDIR}/usr/lib }