Files
flatpak/triggers/desktop-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
196 B
Bash
Executable File

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