chbrown / overdrive

Bash script to download mp3s from the OverDrive audiobook service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Explicitly check for all required executables

chbrown opened this issue · comments

The script should check (e.g. command -v xyz >/dev/null 2>&1) for all executables listed in https://github.com/chbrown/overdrive#prerequisites, and exit with a descriptive error if any are missing, rather than failing mid-stride and leaving the user confused and in an incomplete state (leading to #33, among others).