File: smoke-setup

package info (click to toggle)
libextutils-autoinstall-perl 0.64-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 200 kB
  • ctags: 113
  • sloc: perl: 1,726; makefile: 10; sh: 2
file content (15 lines) | stat: -rwxr-xr-x 638 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

mkdir -p $HOME

# workaround for #752930
# 0) create ~/.cpan/CPAN/MyConfig.pm ourselves before EU::AutoInstall
#    tries to do it and fails horribly in a loop in the install_help
#    question
# 1) "preseed" exactly this install_help question, otherwise the default
#    'local::lib' is chosen and CPAN.pm goes out hunting
# 2) "preseed" urllist as well, otherwise CPAN.pm from 5.18 asks for it
#     and tries to download a mirror list. in 5.20 it contains
#     www.cpan.org already.
perl -MCPAN -e '$CPAN::Config = {"install_help" => q[manual], "urllist" => [q[http://www.cpan.org/]]}; CPAN::Shell->mkmyconfig' </dev/null