feat: add GDM customization
disable fingerprint and smartcard login add a banner text and logo on login screen
This commit is contained in:
2
debian/install
vendored
Normal file
2
debian/install
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
etc
|
||||
usr
|
||||
4
debian/postinst
vendored
4
debian/postinst
vendored
@@ -3,6 +3,10 @@ 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
|
||||
|
||||
23
debian/postrm
vendored
Normal file
23
debian/postrm
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
purge)
|
||||
# forget GDM customization
|
||||
if [ -x /usr/bin/dconf ] ; then
|
||||
dconf update
|
||||
fi
|
||||
;;
|
||||
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postrm called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user