Debian Codegraph @

debian/librsvg2-common.postinst.in

raw
1 #!/bin/sh
2 set -e
3
4 #DEBHELPER#
5
6 if [ "$1" = configure ]; then
7 # gdk-pixbuf's triggers already trigger on "interest" which happens after
8 # unpack. At that time the SVG loader might not work yet due to
9 # unconfigured/missing dependencies, so we need to run the gdk pixbuf
10 # loader query again after we are configured, as that is the only time when
11 # our library is guaranteed to work. see #
12 # https://launchpad.net/bugs/719861 comment 9 for details
13 dpkg-trigger --no-await /usr/lib/#MULTIARCH#/gdk-pixbuf-2.0/*/loaders
14 fi
15