/usr/share/ltsp/plugins/ltsp-build-client/Ubuntu/010-updates-mirrors 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 | case "$MODE" in
commandline)
add_option "security-mirror" "`eval_gettext "set the security mirror location"`" "advanced" "true"
add_option "updates-mirror" "`eval_gettext "set the update mirror location"`" "advanced" "true"
;;
before-install)
if [ "$ARCH" = "i386" ] || [ "$ARCH" = "amd64" ]; then
MIRROR=${MIRROR:-"http://archive.ubuntu.com/ubuntu"}
SECURITY_MIRROR=${SECURITY_MIRROR:-"http://security.ubuntu.com/ubuntu"}
else
MIRROR=${MIRROR:-"http://ports.ubuntu.com/ubuntu-ports"}
SECURITY_MIRROR=${SECURITY_MIRROR:-"http://ports.ubuntu.com/ubuntu-ports"}
fi
UPDATES_MIRROR=${UPDATES_MIRROR:-"$MIRROR"}
;;
configure)
if [ -n "$option_security_mirror_value" ]; then
SECURITY_MIRROR="$option_security_mirror_value"
fi
if [ -n "$option_updates_mirror_value" ]; then
UPDATES_MIRROR="$option_updates_mirror_value"
fi
;;
after-install)
if [ -n "$MINT_DIST" ]; then
add_mirrors "$MINT_MIRROR $MINT_DIST $MINT_COMPONENTS"
fi
add_mirrors "$UPDATES_MIRROR $DIST-updates $COMPONENTS"
add_mirrors "$SECURITY_MIRROR $DIST-security $COMPONENTS"
;;
esac
|