| 1 | #!/bin/sh |
| 2 | set -e |
| 3 | |
| 4 | #DEBHELPER# |
| 5 | |
| 6 | case "$1" in |
| 7 | configure) |
| 8 | if which glib-compile-schemas >/dev/null 2>&1 |
| 9 | then |
| 10 | glib-compile-schemas /usr/share/glib-2.0/schemas |
| 11 | fi |
| 12 | ;; |
| 13 | |
| 14 | abort-upgrade|abort-remove|abort-deconfigure) |
| 15 | |
| 16 | ;; |
| 17 | |
| 18 | *) |
| 19 | echo "postinst called with unknown argument \`$1'" >&2 |
| 20 | exit 1 |
| 21 | ;; |
| 22 | esac |