This file is indexed.

/usr/share/debhelper/autoscripts/postinst-ubuntu-defaults-desktop-session is in ubuntu-defaults-builder 0.30.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
if [ "$1" = configure ] && [ -z "$2" ] && [ -r /usr/share/PACKAGE/default-session.txt ]; then
    session=$(cat /usr/share/PACKAGE/default-session.txt)

    # LightDM
    if [ -x /usr/lib/lightdm/lightdm-set-defaults ] ; then
        /usr/lib/lightdm/lightdm-set-defaults --session $session || true
    fi

    # gdm
    if [ ! -e /etc/gdm/custom.conf ]; then
	mkdir -p /etc/gdm/
	cat <<EOF > /etc/gdm/custom.conf
[daemon]
DefaultSession=$session
EOF
    fi

fi