__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
1 changed files with 3 additions and 1 deletions

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"' \