0abdec75e6
--HG-- extra : convert_revision : 080e2c1e9930a480e88af722f91605a8a69c66cc
14 lines
422 B
Bash
14 lines
422 B
Bash
#
|
|
# 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
|