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