···4242JQ="$(which jq)"
4343PACKAGES="$(cat packages.json)"
44444545+if [ -e "$JQ" ]; then
4646+ echo 'Install jq before running'
4747+ echo 'http://stedolan.github.io/jq/'
4848+ echo ''
4949+ echo 'In future installer will fetch it for you, but for now it is only requirement'
5050+ exit 1
5151+fi
5252+4553for path in $($JQ -r '. | keys[]' <<< "$PACKAGES")
4654do
4755 current=$($JQ ".[\"$path\"]" <<< "$PACKAGES")