On Fri, Apr 18, 2008 at 5:17 PM, Shane Bryan [EMAIL PROTECTED] wrote:
Spencer, Bob wrote:
Perhaps a light-weight daemon that uses inotify to listen for changes
to /usr/share/applications and then update the cache. That seems
easier than requiring changes to debian packages, but it would be
running all the time and new packages are installed less frequently.
Possibly a dumb question, but, perchance, does dpkg (or apt) utilize
dbus to send notifications of successful package install/removal? If
so, why not simply create a dbus service for that message and execute a
cache update on trigger?
Shane...
If the cache updating only needs to be done after dpkg is called, why
not use dpkg-divert to move the real dpkg to dpkg.real, and have the
script named dpkg call dpkg.real and then update the cache? Then no
daemon needs to be running at all.
dpkg-divert : http://www.debian-administration.org/articles/118
--
Michael Moore
-
My failed attempts to draw : http://stuporglue.com/
--
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile