debian/tests/pkg-perl/smoke-setup
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | # workaround for #752930 |
| 4 | # 0) create ~/.cpan/CPAN/MyConfig.pm ourselves before EU::AutoInstall |
| 5 | # tries to do it and fails horribly in a loop in the install_help |
| 6 | # question |
| 7 | # 1) "preseed" exactly this install_help question, otherwise the default |
| 8 | # 'local::lib' is chosen and CPAN.pm goes out hunting |
| 9 | perl -MCPAN -e '$CPAN::Config = {"install_help" => q[manual]}; CPAN::Shell->mkmyconfig' </dev/null |
| 10 |