This file is indexed.

/usr/share/ltsp/plugins/ltsp-build-client/Debian/040-mount-package-cache 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
case "$MODE" in
    commandline)
        add_option "mount-package-cache" "`eval_gettext "mount package cache dir from server"`" "advanced" "false"
        add_option "mount-package-dir" "`eval_gettext "mount a server directory as the chroot package cache dir"`" "advanced" "true"
        ;;
    configure)
        if [ -n "$option_mount_package_cache_value" ]; then
            MOUNT_PACKAGE_DIR="/var/cache/apt/archives"
        elif [ -n "$option_mount_package_dir_value" ]; then
            MOUNT_PACKAGE_DIR="$option_mount_package_dir_value"
        fi
        ;;
    before-install)
        if [ -n "$MOUNT_PACKAGE_DIR" ]; then
            KEEP_PACKAGES=${KEEP_PACKAGES:-true}
            mkdir -p "$MOUNT_PACKAGE_DIR"
            # if partial isn't created, apt complains later on chroot updates
            mkdir -p "$ROOT/var/cache/apt/archives/partial"
            chroot_mount "$MOUNT_PACKAGE_DIR" /var/cache/apt/archives --bind
        fi
        ;;
esac