aboutsummaryrefslogtreecommitdiffstats
path: root/menu
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-06-05 16:53:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-06-05 16:53:19 +0000
commit07ba500a7174e53f2c0d5d56b770989b08869c83 (patch)
tree181ce0edd1eeca2055ae8fbcc5922cf5c5ad49db /menu
parent8a4ed625c7185c9d3c286ad14430c27e13e2224d (diff)
downloadcommon-data-07ba500a7174e53f2c0d5d56b770989b08869c83.tar
common-data-07ba500a7174e53f2c0d5d56b770989b08869c83.tar.gz
common-data-07ba500a7174e53f2c0d5d56b770989b08869c83.tar.bz2
common-data-07ba500a7174e53f2c0d5d56b770989b08869c83.tar.xz
common-data-07ba500a7174e53f2c0d5d56b770989b08869c83.zip
add rpm filetrigger running update-menus when rpm install/remove .desktop files
Diffstat (limited to 'menu')
-rw-r--r--menu/update-menus.filter1
-rwxr-xr-xmenu/update-menus.script2
2 files changed, 3 insertions, 0 deletions
diff --git a/menu/update-menus.filter b/menu/update-menus.filter
new file mode 100644
index 0000000..809cc56
--- /dev/null
+++ b/menu/update-menus.filter
@@ -0,0 +1 @@
+^.(/usr|/opt/kde3)/share/applications/.*\.desktop$
diff --git a/menu/update-menus.script b/menu/update-menus.script
new file mode 100755
index 0000000..7f15cb0
--- /dev/null
+++ b/menu/update-menus.script
@@ -0,0 +1,2 @@
+#!/bin/sh
+update-menus