Mageia Bugzilla – Attachment 3090 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 (better)
0001-pk_print_repo_details-fix-pkcon-repo-list-failing-to.patch (text/plain), 886 bytes, created by
Thierry Vignaud
on 2012-11-13 17:50:27 CET
(
hide
)
Description:
fix repo-list (better)
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2012-11-13 17:50:27 CET
Size:
886 bytes
patch
obsolete
>From ee321848c1fefc1f9b9550cc3cb65bed8bb63420 Mon Sep 17 00:00:00 2001 >From: tv <thierry.vignaud@gmail.com> >Date: Tue, 13 Nov 2012 16:58:27 +0100 >Subject: [PATCH 1/2] (pk_print_repo_details) fix "pkcon repo-list" failing to > parse > >--- > backends/urpmi/helpers/perl_packagekit/prints.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/backends/urpmi/helpers/perl_packagekit/prints.pm b/backends/urpmi/helpers/perl_packagekit/prints.pm >index dbf1699..9b688b3 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, bool2text($enabled)); > } > > 1; >-- >1.8.0 >
From ee321848c1fefc1f9b9550cc3cb65bed8bb63420 Mon Sep 17 00:00:00 2001 From: tv <thierry.vignaud@gmail.com> Date: Tue, 13 Nov 2012 16:58:27 +0100 Subject: [PATCH 1/2] (pk_print_repo_details) fix "pkcon repo-list" failing to parse --- backends/urpmi/helpers/perl_packagekit/prints.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/urpmi/helpers/perl_packagekit/prints.pm b/backends/urpmi/helpers/perl_packagekit/prints.pm index dbf1699..9b688b3 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, bool2text($enabled)); } 1; -- 1.8.0
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 7106
:
3088
| 3090 |
3091