On Fri, 2013-01-18 at 13:27 +0100, Armin K. wrote:
> I used DESTDIR method ever since.
>
> For every single package that I install I have following set of "post
> install triggers"
I've just introduced something similar into my own scripts, though
slightly more discriminating - checking the install logs to see if a
particular task needs running. E.g:
fgrep -q "usr/share/glib-2.0/schemas/" $_install_log &&
glib-compile-schemas /usr/share/glib-2.0/schemas
or
fgrep -q "usr/lib/gdk-pixbuf-2.0/" $_install_log &&
gdk-pixbuf-query-loaders --update-cache
Simon.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page