On mar., 2010-07-06 at 17:45 +0200, Josselin Mouette wrote: > The changes include a test that will avoid launching the tool if the > directory doesn’t exist. > > See > http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/glib2.0/debian/libglib2.0.postinst > > However another test in the trigger part (lines 10 and 16) might be > necessary.
The issue is not what glib is doing but rather than dpkg will not set the trigger correctly on a directory not on the disk. You can notice the bug when the first binary installing a schemas in /usr/share/glib-2.0/schemas is installed, the dpkg log will not display a trigger for libglib. The bug is arguably a dpkg one but creating the directory there would workaround it. I've backported your changes now and noticed an issue, the gio pc describes the path to glib-compile-schemas and this one needs to be changed as well to use the correct directory -- Sebastien Bacher -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org