xbps-base-files: add a trigger for desktop-file-utils.
Bump to 0.12. --HG-- extra : convert_revision : e16f8d90e9d53852ba4911bb7bd32036d4de2943
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
#
|
||||
# This helper update's desktop-file-utils desktop database for any
|
||||
# package that requests this operation.
|
||||
#
|
||||
|
||||
update_desktopdb_cmd=$XBPS_MASTERDIR/bin/update-desktop-database
|
||||
desktopdb_dir=$XBPS_MASTERDIR/share/applications
|
||||
|
||||
if [ -x $update_desktopdb_cmd -a -d $desktopdb_dir ]; then
|
||||
$update_desktopdb_cmd $desktopdb_dir && \
|
||||
echo "=> Updated desktop database directory."
|
||||
fi
|
||||
|
||||
unset update_desktopdb_cmd desktopdb_dir
|
||||
Reference in New Issue
Block a user