Mageia Bugzilla – Attachment 7411 Details for
Bug 15282
Reports from cron are not readable "Unable to get Terminal Size"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Patch for urpm/download.pm
download-pm.patch (text/plain), 357 bytes, created by
Deri James
on 2016-02-05 14:29:26 CET
(
hide
)
Description:
Patch for urpm/download.pm
Filename:
MIME Type:
Creator:
Deri James
Created:
2016-02-05 14:29:26 CET
Size:
357 bytes
patch
obsolete
>diff -ruNb a/download.pm b/download.pm >--- a/download.pm 2016-02-05 13:12:16.610564587 +0000 >+++ b/download.pm 2016-02-05 13:10:49.964762131 +0000 >@@ -820,7 +820,7 @@ > require Term::ReadKey; > ($wchar) = Term::ReadKey::GetTerminalSize(); > --$wchar; >-}; >+} if -t STDIN; > > sub progress_text { > my ($mode, $percent, $total, $eta, $speed) = @_;
diff -ruNb a/download.pm b/download.pm --- a/download.pm 2016-02-05 13:12:16.610564587 +0000 +++ b/download.pm 2016-02-05 13:10:49.964762131 +0000 @@ -820,7 +820,7 @@ require Term::ReadKey; ($wchar) = Term::ReadKey::GetTerminalSize(); --$wchar; -}; +} if -t STDIN; sub progress_text { my ($mode, $percent, $total, $eta, $speed) = @_;
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 15282
: 7411