bin/setup-cpan-faves

changeset 819
58f9d9741852
parent 816
f058603b86b6
child 956
61c91bec34c8
--- 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
 

mercurial