You've already forked termux-packages
mirror of
https://github.com/izzy2lost/termux-packages.git
synced 2026-03-26 17:00:19 -07:00
15 lines
676 B
Diff
15 lines
676 B
Diff
https://github.com/termux/termux-packages/issues/16467
|
|
|
|
--- a/cpan/CPAN/lib/CPAN/FirstTime.pm
|
|
+++ b/cpan/CPAN/lib/CPAN/FirstTime.pm
|
|
@@ -1110,7 +1110,8 @@
|
|
# as long as Windows needs $self->_build_command, we cannot
|
|
# support sudo on windows :-)
|
|
my $default = $CPAN::Config->{make} || "";
|
|
- if ( $default && $CPAN::Config->{install_help} eq 'sudo' ) {
|
|
+ # https://github.com/termux/termux-packages/issues/16467
|
|
+ if ( 0 && $default && $CPAN::Config->{install_help} eq 'sudo' ) {
|
|
if ( find_exe('sudo') ) {
|
|
$default = "sudo $default";
|
|
delete $CPAN::Config->{make_install_make_command}
|