Files
orange-yourdev-login/debian/postinst
Michel Decima df1b0f8c36 feat: add GDM customization
disable fingerprint and smartcard login
add a banner text and logo on login screen
2021-10-08 18:10:39 +02:00

37 lines
896 B
Bash

#!/bin/sh
set -e
case "$1" in
configure)
# enable GDM customization
if [ -x /usr/bin/dconf ] ; then
dconf update
fi
# Configure PAM for credential cache
apt-mark manual libpam-ccreds >/dev/null || true
if [ -e /usr/share/pam-configs/ccreds-check ] ; then
pam-auth-update --force --package --enable \
ccreds-check ccreds-save || true
fi
# Configure PAM for Kerberos
if [ -e /usr/share/pam-configs/krb5 ] ; then
pam-auth-update --force --package --enable krb5 || true
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0