diff --git a/bin/setup-cpan-faves b/bin/setup-cpan-faves --- a/bin/setup-cpan-faves +++ b/bin/setup-cpan-faves @@ -23,7 +23,7 @@ dists=( Getopt::Long::Descriptive ) -if ! command -v cpm &>/dev/null; then +if ! (command -v cpm && cpm -V) &>/dev/null; then curl -fsSL --compressed https://git.io/cpm | perl - install -g App::cpm