Files
flatpak/triggers/mime-database.trigger
Alexander Larsson 8ffacee14c Change /self to /app
This changes the application prefix to /app, which has the
advantage of being the same length as /usr. This may help
making some packages relocatable.

We make /self a symlink to /app for now, to keep existing images
work, but at some point we will probably remove this.
2015-05-21 18:54:06 +02:00

6 lines
180 B
Bash
Executable File

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