diff --git a/shutils/metadata.sh b/shutils/metadata.sh index 6304185dc2..6c8b354ce0 100644 --- a/shutils/metadata.sh +++ b/shutils/metadata.sh @@ -342,8 +342,10 @@ _EOF $XBPS_REGPKGDB_CMD sanitize-plist $metadir/props.plist chmod 644 $metadir/* - # Update shared-mime-info database if package contains + # + # Update desktop-file-utils database if package contains # any desktop file in /usr/share/applications. + # if [ -d ${DESTDIR}/usr/share/applications ]; then if find . -type f -name \*.desktop 2>&1 >/dev/null; then triggers="$triggers update-desktopdb"