diskimage-builder/diskimage_builder/elements/dpkg/pre-install.d/99-apt-get-update

11 lines
170 B
Plaintext
Raw Normal View History

#!/bin/bash
# Do an apt-get update, so that packages can be installed.
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
set -x
fi
set -eu
set -o pipefail
apt-get -y update