Mageia Bugzilla – Attachment 3088 Details for
Bug 7106
# pkcon repo-list doesn't work because integration between packagekit and urpmi wasn't done
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
fix repo-list
7106.diff (text/plain), 542 bytes, created by
Thierry Vignaud
on 2012-11-13 16:50:17 CET
(
hide
)
Description:
fix repo-list
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2012-11-13 16:50:17 CET
Size:
542 bytes
patch
obsolete
>diff --git a/backends/urpmi/helpers/perl_packagekit/prints.pm b/backends/urpmi/helpers/perl_packagekit/prints.pm >index dbf1699..92d6014 100644 >--- a/backends/urpmi/helpers/perl_packagekit/prints.pm >+++ b/backends/urpmi/helpers/perl_packagekit/prints.pm >@@ -112,7 +112,7 @@ sub pk_print_distro_upgrade { > > sub pk_print_repo_details { > my ($id, $description, $enabled) = @_; >- printf("repo-detail\t%s\t%s\t%s\n", $id, $description, $enabled); >+ printf("repo-detail\t%s\t%s\t%s\n", $id, $description, $enabled ? "true" : "false"); > } > > 1;
diff --git a/backends/urpmi/helpers/perl_packagekit/prints.pm b/backends/urpmi/helpers/perl_packagekit/prints.pm index dbf1699..92d6014 100644 --- a/backends/urpmi/helpers/perl_packagekit/prints.pm +++ b/backends/urpmi/helpers/perl_packagekit/prints.pm @@ -112,7 +112,7 @@ sub pk_print_distro_upgrade { sub pk_print_repo_details { my ($id, $description, $enabled) = @_; - printf("repo-detail\t%s\t%s\t%s\n", $id, $description, $enabled); + printf("repo-detail\t%s\t%s\t%s\n", $id, $description, $enabled ? "true" : "false"); } 1;
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 7106
:
3088
|
3090
|
3091