GNOME Bugzilla – Bug 654512
Add some more triggers
Last modified: 2011-07-15 21:49:16 UTC
Created attachment 191853 [details] [review] patch Here is a patch that adds triggers for some more caches. Note that these are entirely untested.
Review of attachment 191853 [details] [review]: ::: triggers/desktop-database.trigger @@ +18,3 @@ + +# IfExecutable: update-desktop-database +# REMatch: /applications/*\.desktop That should be '.*' not just '*'; these are regexps, not globs. I'd write this as: /share/applications/.*/.*\.desktop ::: triggers/immodules.trigger @@ +18,3 @@ + +# IfExecutable: gtk-query-immodules-3.0 +# REMatch: /lib.*/gtk-3.0/3.0.0/immodules/*\.so To be more strictly correct, you should quote the literal . in version numbers. Also, same glob issue. So: /lib.*/gtk-3\.0/3\.0\.0/immodules/.*\.so ::: triggers/mime-database.trigger @@ +18,3 @@ + +# IfExecutable: update-mime-database +# REMatch: /mime/packages/*\.xml /mime/packages/.*\.xml