forked from ungleich-public/cdist
Remove usage of CDIST_ORDER_DEPENDENCY
This commit is contained in:
parent
a7f4c8d773
commit
d4bb114468
1 changed files with 4 additions and 5 deletions
|
@ -52,18 +52,17 @@ case "$os" in
|
||||||
fi
|
fi
|
||||||
__apt_key_uri docker --name "Docker Release (CE deb) <docker@docker.com>" \
|
__apt_key_uri docker --name "Docker Release (CE deb) <docker@docker.com>" \
|
||||||
--uri "https://download.docker.com/linux/${os}/gpg" --state "${state}"
|
--uri "https://download.docker.com/linux/${os}/gpg" --state "${state}"
|
||||||
export CDIST_ORDER_DEPENDENCY=on
|
|
||||||
__apt_source docker \
|
require="__apt_key_uri/docker" __apt_source docker \
|
||||||
--uri "https://download.docker.com/linux/${os}" \
|
--uri "https://download.docker.com/linux/${os}" \
|
||||||
--distribution "$(cat "$__global/explorer/lsb_codename")" \
|
--distribution "$(cat "$__global/explorer/lsb_codename")" \
|
||||||
--state "${state}" \
|
--state "${state}" \
|
||||||
--component "stable"
|
--component "stable"
|
||||||
if [ "$version" != "latest" ]; then
|
if [ "$version" != "latest" ]; then
|
||||||
__package docker-ce --version "${version}" --state "${state}"
|
require="__apt_source/docker" __package docker-ce --version "${version}" --state "${state}"
|
||||||
else
|
else
|
||||||
__package docker-ce --state "${state}"
|
require="__apt_source/docker" __package docker-ce --state "${state}"
|
||||||
fi
|
fi
|
||||||
unset CDIST_ORDER_DEPENDENCY
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Your operating system ($os) is currently not supported by this type (${__type##*/})." >&2
|
echo "Your operating system ($os) is currently not supported by this type (${__type##*/})." >&2
|
||||||
|
|
Loading…
Reference in a new issue