forked from ungleich-public/cdist
touch /var/lib/apt/lists to make it newer
This commit is contained in:
parent
f74a06a257
commit
e24165304c
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@ case "$state_should" in
|
|||
# https://code.ungleich.ch/ungleich-public/cdist/-/issues/861
|
||||
apt_opts="-o Acquire::AllowReleaseInfoChange::Suite=true -o Acquire::AllowReleaseInfoChange::Version=true"
|
||||
if [ "$(cat "$__object/explorer/index")" = 'update' ]; then
|
||||
echo 'touch /var/lib/apt/lists'
|
||||
echo "apt-get $apt_opts update || true"
|
||||
fi
|
||||
if [ -n "$version" ]; then
|
||||
|
|
Loading…
Reference in a new issue