Files
flatpak/triggers/desktop-database.trigger
Alexander Larsson 5dfc59ee02 Pass location of exports to triggers as arg1
This changes nothing but is a preparation for later changes
2016-02-09 14:50:35 +01:00

6 lines
192 B
Bash
Executable File

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