mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-24 15:48:18 -05:00
This runs the triggers in a read-only environment to update things like desktop file databases, icon caches and mimeinfo databases.
6 lines
198 B
Bash
Executable File
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
|