File: smoke-setup

package info (click to toggle)
libextutils-autoinstall-perl 0.64-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 196 kB
  • sloc: perl: 1,726; makefile: 18; sh: 1
file content (10 lines) | stat: -rwxr-xr-x 419 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

# 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
perl -MCPAN -e '$CPAN::Config = {"install_help" => q[manual]}; CPAN::Shell->mkmyconfig' </dev/null