Files
flatpak/triggers/desktop-database.trigger
Alexander Larsson daf41bab9c Add triggers for exports
This runs the triggers in a read-only environment to update things
like desktop file databases, icon caches and mimeinfo databases.
2015-01-15 21:45:55 +01:00

6 lines
198 B
Bash
Executable File

#!/bin/sh
if test \( -x "$(which update-desktop-database 2>/dev/null)" \) -a \( -d /self/exports/share/applications \); then
exec update-desktop-database -q /self/exports/share/applications
fi