This file is indexed.

/usr/share/ltsp/plugins/ltsp-build-client/Debian/025-locales is in ltsp-server 5.5.7-1.

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
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
case $MODE in
    commandline)
        add_option "locale" "`eval_gettext "set the default locale"`" "advanced" "true"
        ;;
    configure)
        if [ -n "$option_locale_value" ]; then
            LOCALE="$option_locale_value"
        fi
        ;;
    before-install)
        # include locales in initial deboostrap
        if [ -z "$INCLUDE" ]; then
            INCLUDE="locales"
        else
            INCLUDE="$INCLUDE,locales"
        fi
        ;;
    install)
        for f in /etc/locale.gen /etc/default/locale \
            /etc/default/console-setup /etc/default/keyboard; do
            if [ -f "$f" ]; then
                cp "$f" "$ROOT/$f"
            fi
        done
        
        if [ -n "$LOCALE" ]; then
            export LANG=$(echo "$LOCALE" | awk '{print $1}' | sed -e 's,.utf8,.UTF-8,g')
            LOCALE_ENCODING=$(echo "$LOCALE" | awk '{print $2}') 
            if [ -z "$LOCALE_ENCODING" ] && [ -f $ROOT/usr/share/i18n/SUPPORTED ]; then
                grep ^"$LANG " $ROOT/usr/share/i18n/SUPPORTED >> $ROOT/etc/locale.gen
            else
            	echo "$LANG $LOCALE_ENCODING" >> $ROOT/etc/locale.gen
            fi
            echo "LANG=$LANG" >> $ROOT/etc/default/locale
        fi

        if [ -f $ROOT/etc/locale.gen ] && [ -x $ROOT/usr/sbin/locale-gen ] ; then
            DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical LC_ALL=C chroot $ROOT /usr/sbin/locale-gen
        fi

        # set debian-installer/keymap question in the chroot if present on the server
        debian_installer_keymap="$(debconf-get-selections | grep debian-installer/keymap)" || true
        if [ -n "$debian_installer_keymap" ]; then
            echo "$debian_installer_keymap" | chroot $ROOT debconf-set-selections
        fi
        ;;
esac