/usr/share/ltsp/plugins/ltsp-build-client/Debian/035-apt-get-upgrade 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 | case "$MODE" in
commandline)
add_option "skip-upgrade" "`eval_gettext "skip upgrade of installed packages"`" "advanced" "false"
;;
configure)
if [ -n "$option_skip_upgrade_value" ]; then
SKIP_UPGRADE=true
fi
;;
after-install)
if [ "true" != "$SKIP_UPGRADE" ]; then
chroot $ROOT apt-get $APT_GET_OPTS dist-upgrade
fi
;;
esac
|