Debian Codegraph @

triggers/desktop-database.trigger

raw
1 #!/bin/sh
2
3 if command -v update-desktop-database >/dev/null && test -d "$1/exports/share/applications"; then
4 exec update-desktop-database -q "$1/exports/share/applications"
5 fi