__consul type requires unzip to be installed

Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
This commit is contained in:
Nico Schottelius 2015-05-16 16:49:48 +02:00
parent 156ff71430
commit 45df8dca11

View file

@ -43,7 +43,9 @@ if [ ! -d "$version_dir" ]; then
exit 1
fi
__staged_file /usr/local/bin/consul \
__package unzip
require="__package/unzip" __staged_file /usr/local/bin/consul \
--source "$(cat "$version_dir/source")" \
--cksum "$(cat "$version_dir/cksum")" \
--fetch-command 'curl -s -L "%s"' \