Files
digital_video_introduction/setup.sh
2017-01-27 22:13:13 -02:00

19 lines
243 B
Bash
Executable File

check_cmd()
{
if ! which $1 &>/dev/null; then
error "$1 command not found, you must install it before."
fi
}
error()
{
echo "Error: $*" >&2
exit 1
}
check_cmd docker
check_cmd wget
./s/download_video.sh
./s/cut_smaller_video.sh