diff --git a/meta/recipes-devtools/python/python-smartpm_1.4.1.bb b/meta/recipes-devtools/python/python-smartpm_1.4.1.bb
index 254318c..3617fde 100644
--- a/meta/recipes-devtools/python/python-smartpm_1.4.1.bb
+++ b/meta/recipes-devtools/python/python-smartpm_1.4.1.bb
@@ -44,7 +44,7 @@ inherit distutils
 
 do_install_append() {
    # Cleanup unused item...
-   rmdir ${D}${datadir}/share
+   rmdir ${D}${datadir}
 
    # We don't support the following items
    rm -rf ${D}${libdir}/python*/site-packages/smart/backends/slack
