#!/bin/sh
# Asks the repositories what they have. Changes nothing on this machine.
#
# Its own program rather than the first two lines of the other one, because the
# two are different acts: this one can be run at any moment and the other one
# restarts services. A caller that could only have both would never use the
# safe one.
set -eu

# apt speaks the machine's language; its output lands in the journal and in the
# settings dialog, which are English. The unit runs with no locale of its own,
# so say it here rather than trust the environment.
export LC_ALL=C.UTF-8 LANGUAGE=C

exec apt-get update
