2017-02-19 17:25:28 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
## This file is part of Whonix.
|
|
|
|
## Copyright (C) 2012 - 2014 Patrick Schleizer <adrelanos@riseup.net>
|
|
|
|
## See the file COPYING for copying conditions.
|
|
|
|
|
|
|
|
if [ -f /usr/lib/pre.bsh ]; then
|
|
|
|
source /usr/lib/pre.bsh
|
|
|
|
fi
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
true "
|
|
|
|
#####################################################################
|
2017-03-06 10:00:33 -05:00
|
|
|
## INFO: BEGIN: $DPKG_MAINTSCRIPT_PACKAGE $DPKG_MAINTSCRIPT_NAME $@
|
2017-02-19 17:25:28 -05:00
|
|
|
#####################################################################
|
|
|
|
"
|
|
|
|
|
|
|
|
case "$1" in
|
|
|
|
configure)
|
2017-02-19 17:32:04 -05:00
|
|
|
glib-compile-schemas /usr/share/glib-2.0/schemas || true
|
2017-02-19 17:25:28 -05:00
|
|
|
;;
|
|
|
|
|
|
|
|
abort-upgrade|abort-remove|abort-deconfigure)
|
|
|
|
;;
|
|
|
|
|
|
|
|
*)
|
|
|
|
echo "$DPKG_MAINTSCRIPT_NAME called with unknown argument \`$1'" >&2
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
true "INFO: debhelper beginning here."
|
|
|
|
|
|
|
|
#DEBHELPER#
|
|
|
|
|
|
|
|
true "INFO: Done with debhelper."
|
|
|
|
|
|
|
|
true "
|
|
|
|
#####################################################################
|
2017-03-06 10:00:33 -05:00
|
|
|
## INFO: END : $DPKG_MAINTSCRIPT_PACKAGE $DPKG_MAINTSCRIPT_NAME $@
|
2017-02-19 17:25:28 -05:00
|
|
|
#####################################################################
|
|
|
|
"
|
|
|
|
|
|
|
|
## Explicitly "exit 0", so eventually trapped errors can be ignored.
|
|
|
|
exit 0
|