2 # arg 1: the new package version
4 echo "update desktop mime database..."
5 update-desktop-database -q /usr/share/applications
6 update-mime-database /usr/share/mime 1> /dev/null
13 # arg 1: the old package version
15 echo "update desktop mime database..."
16 update-desktop-database -q
17 update-mime-database /usr/share/mime 1> /dev/null