22 Path::Tiny |
23 Path::Tiny |
23 Getopt::Long::Descriptive |
24 Getopt::Long::Descriptive |
24 ) |
25 ) |
25 |
26 |
26 if ! (command -v cpm && cpm -V) &>/dev/null; then |
27 if ! (command -v cpm && cpm -V) &>/dev/null; then |
27 curl -fsSL --compressed https://git.io/cpm | |
28 cpm() { |
28 perl - install -g App::cpm |
29 curl -fsSL --compressed https://git.io/cpm | perl - $@ |
29 |
30 } |
30 plenv rehash || : |
|
31 fi |
31 fi |
32 |
32 |
33 cpm install -g "${dists[@]}" |
33 cpm install -g "${dists[@]}" |
34 |
34 |
35 plenv rehash || : |
35 plenv rehash || : |