Commit 624a7f2f authored by Holger Levsen's avatar Holger Levsen

reproducible Debian: always run apt-get update (but sometimes only update sources.list later...)

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent 134df78f
......@@ -495,7 +495,7 @@ if [ -f /etc/debian_version ] ; then
else
MASTERDEBS=""
fi
$UP2DATE || ( sudo cp --preserve=mode,timestamps -r hosts/$HOSTNAME/etc/apt/sources.list /etc/apt ; sudo apt-get update )
$UP2DATE || sudo apt-get update
$UP2DATE || sudo apt-get install $DEBS $MASTERDEBS
# dont (re-)install pbuilder if it's on hold
if [ "$(dpkg-query -W -f='${db:Status-Abbrev}\n' pbuilder)" != "hi " ] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment