desktop-base-openmamba/apt/post-install.sh
2011-04-26 13:25:32 +02:00

8 lines
249 B
Bash
Executable File

#!/bin/bash
[ -x /usr/bin/update-mime-database ] && update-mime-database /usr/share/mime >/dev/null
IFS=":"
for d in $XDG_DATA_DIRS; do
[ -x /usr/bin/update-desktop-database ] && update-desktop-database -q $d/applications/ >/dev/null
done
exit 0