forked from ungleich-public/cdist
__consul type requires unzip to be installed
Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
This commit is contained in:
parent
156ff71430
commit
45df8dca11
1 changed files with 3 additions and 1 deletions
|
@ -43,7 +43,9 @@ if [ ! -d "$version_dir" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
__staged_file /usr/local/bin/consul \
|
__package unzip
|
||||||
|
|
||||||
|
require="__package/unzip" __staged_file /usr/local/bin/consul \
|
||||||
--source "$(cat "$version_dir/source")" \
|
--source "$(cat "$version_dir/source")" \
|
||||||
--cksum "$(cat "$version_dir/cksum")" \
|
--cksum "$(cat "$version_dir/cksum")" \
|
||||||
--fetch-command 'curl -s -L "%s"' \
|
--fetch-command 'curl -s -L "%s"' \
|
||||||
|
|
Loading…
Reference in a new issue