2020-05-11 23:10:49 +02:00
|
|
|
diff -uNr netpbm-10.73.31/buildtools/installnetpbm.pl netpbm-10.73.31.mod/buildtools/installnetpbm.pl
|
|
|
|
--- netpbm-10.73.31/buildtools/installnetpbm.pl 2019-06-29 02:07:55.000000000 +0300
|
|
|
|
+++ netpbm-10.73.31.mod/buildtools/installnetpbm.pl 2020-05-12 00:06:51.166788332 +0300
|
|
|
|
@@ -31,17 +31,7 @@
|
|
|
|
sub prompt($$) {
|
2017-10-06 13:26:25 +02:00
|
|
|
|
|
|
|
my ($prompt, $default) = @_;
|
2020-05-11 23:10:49 +02:00
|
|
|
-
|
2017-10-06 13:26:25 +02:00
|
|
|
- print("$prompt ($default) ==> ");
|
|
|
|
-
|
|
|
|
- my $response = <STDIN>;
|
|
|
|
-
|
|
|
|
- chomp($response);
|
|
|
|
- if ($response eq "") {
|
|
|
|
- $response = $default;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- return $response;
|
|
|
|
+ return $default;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-05-11 23:10:49 +02:00
|
|
|
@@ -123,7 +113,7 @@
|
2015-06-13 01:03:31 +02:00
|
|
|
$default = "/usr/local/netpbm";
|
|
|
|
}
|
|
|
|
|
2020-05-11 23:10:49 +02:00
|
|
|
- my $response = prompt("install prefix", $default);
|
2015-06-13 01:03:31 +02:00
|
|
|
+ my $response = "@TERMUX_PREFIX@";
|
|
|
|
|
|
|
|
my $prefix;
|
|
|
|
|
2020-05-11 23:10:49 +02:00
|
|
|
@@ -511,7 +501,7 @@
|
2015-06-13 01:03:31 +02:00
|
|
|
$done = $FALSE;
|
|
|
|
|
|
|
|
while (!$done) {
|
|
|
|
- my $response = prompt("Y(es) or N(o)", "Y");
|
|
|
|
+ my $response = "N";
|
|
|
|
|
|
|
|
if (uc($response) eq "Y") {
|
|
|
|
execLdconfig();
|
2020-05-11 23:10:49 +02:00
|
|
|
@@ -967,8 +957,6 @@
|
|
|
|
|
|
|
|
removeObsoleteManPage($manDir);
|
|
|
|
|
|
|
|
- makeInManwebPath("$manDir/web");
|
|
|
|
-
|
|
|
|
$$mandirR = $manDir;
|
|
|
|
}
|
|
|
|
|