mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-24 23:58:10 -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
182 B
Bash
Executable File
6 lines
182 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if test \( -x "$(which update-mime-database 2>/dev/null)" \) -a \( -d /self/exports/share/mime/packages \); then
|
|
exec update-mime-database /self/exports/share/mime
|
|
fi
|