#!/bin/sh
set -e

#empty VERSION
cava -v | grep '^cava .'

# No unresolved shared libraries
if ldd /usr/bin/cava | grep -q 'not found'; then
    echo "unresolved libraries:" >&2
    ldd /usr/bin/cava >&2
    exit 1
fi
