/usr/share/ltsp/plugins/ltsp-build-client/Debian/013-security-mirror is in ltsp-server 5.4.2-6+deb7u1.
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 | case "$MODE" in
commandline)
add_option "security-mirror" "`eval_gettext "add a security mirror"`" "advanced" "true"
;;
configure)
if [ -n "$option_security_mirror_value" ]; then
SECURITY_MIRROR="$option_security_mirror_value"
fi
;;
before-install)
if [ "$SECURITY_MIRROR" = "none" ]; then
SECURITY_MIRROR=""
else
SECURITY_MIRROR=${SECURITY_MIRROR:-"http://security.debian.org/"}
if [ -z "$(echo $SECURITY_MIRROR | awk '{print $2}')" ]; then
echo "`eval_gettext "NOTE: adding default dist and components to security mirror:"`"
SECURITY_MIRROR="$SECURITY_MIRROR $DIST/updates $COMPONENTS"
echo "$SECURITY_MIRROR"
fi
fi
;;
after-install)
add_mirrors "$SECURITY_MIRROR"
;;
esac
|