2017-02-20 05:25:28 +07:00
#!/bin/bash
2018-01-29 22:22:05 +07:00
## Copyright (C) 2012 - 2018 ENCRYPTED SUPPORT LP <adrelanos@riseup.net>
2017-02-20 05:25:28 +07:00
## See the file COPYING for copying conditions.
2019-05-12 13:58:45 +07:00
if [ -f /usr/lib/helper-scripts/pre.bsh ]; then
source /usr/lib/helper-scripts/pre.bsh
2017-02-20 05:25:28 +07:00
fi
set -e
true "
#####################################################################
2017-03-06 22:00:33 +07:00
## INFO: BEGIN: $DPKG_MAINTSCRIPT_PACKAGE $DPKG_MAINTSCRIPT_NAME $@
2017-02-20 05:25:28 +07:00
#####################################################################
"
case "$1" in
configure)
2017-02-20 05:32:04 +07:00
glib-compile-schemas /usr/share/glib-2.0/schemas || true
2017-02-20 05:25:28 +07:00
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "$DPKG_MAINTSCRIPT_NAME called with unknown argument \`$1'" >&2
exit 1
;;
esac
2019-07-08 05:18:47 +07:00
[ -n "$DEBIAN_FRONTEND" ] || DEBIAN_FRONTEND="noninteractive"
[ -n "$DEBIAN_PRIORITY" ] || DEBIAN_PRIORITY="critical"
[ -n "$DEBCONF_NOWARNINGS" ] || DEBCONF_NOWARNINGS="yes"
[ -n "$APT_LISTCHANGES_FRONTEND" ] || APT_LISTCHANGES_FRONTEND="text"
export POLICYRCD DEBIAN_FRONTEND DEBIAN_PRIORITY DEBCONF_NOWARNINGS APT_LISTCHANGES_FRONTEND
2019-07-08 03:51:40 +07:00
## Jul 07 20:35:39 host sudo[16090]: PAM unable to dlopen(pam_cgfs.so): /lib/security/pam_cgfs.so: cannot open shared object file: No such file or directory
## Jul 07 20:35:39 host sudo[16090]: PAM adding faulty module: pam_cgfs.so
2019-07-08 04:31:56 +07:00
## --package hangs in Qubes updater since it starts whiptail for interactive dpkg configuration dialog.
pam-auth-update --force
2019-07-08 03:51:40 +07:00
2017-02-20 05:25:28 +07:00
true "INFO: debhelper beginning here."
#DEBHELPER#
true "INFO: Done with debhelper."
true "
#####################################################################
2017-03-06 22:00:33 +07:00
## INFO: END : $DPKG_MAINTSCRIPT_PACKAGE $DPKG_MAINTSCRIPT_NAME $@
2017-02-20 05:25:28 +07:00
#####################################################################
"
## Explicitly "exit 0", so eventually trapped errors can be ignored.
exit 0