ostree/triggers.d/desktop-database.trigger

24 lines
971 B
Plaintext
Raw Normal View History

2011-10-25 06:02:16 +04:00
#!/bin/sh
2011-10-21 00:11:39 +04:00
# Post-installation hook for desktop files. -*- mode: sh -*-
#
# Written by Matthias Clasen <mclasen@redhat.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# IfExecutable: update-desktop-database
# REMatch: /share/applications/.*/.*\.desktop
exec update-desktop-database -q ./usr/share/applications