Merge lp:~zyga/checkbox/fix-1301895 into lp:checkbox

Proposed by Zygmunt Krynicki
Status: Merged
Approved by: Brendan Donegan
Approved revision: 2870
Merged at revision: 2870
Proposed branch: lp:~zyga/checkbox/fix-1301895
Merge into: lp:checkbox
Diff against target: 21 lines (+2/-2)
1 file modified
providers/plainbox-provider-resource-generic/jobs/resource.txt (+2/-2)
To merge this branch: bzr merge lp:~zyga/checkbox/fix-1301895
Reviewer Review Type Date Requested Status
Brendan Donegan (community) Approve
Review via email: mp+214014@code.launchpad.net

Description of the change

7c6e1a8 providers:resource: fix the package and executable jobs

To post a comment you must log in.
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

Easy - hope this is all of them. I guess we'll find out

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'providers/plainbox-provider-resource-generic/jobs/resource.txt'
2--- providers/plainbox-provider-resource-generic/jobs/resource.txt 2014-04-02 09:58:26 +0000
3+++ providers/plainbox-provider-resource-generic/jobs/resource.txt 2014-04-03 12:57:31 +0000
4@@ -47,7 +47,7 @@
5 id: package
6 estimated_duration: 1.16
7 plugin: resource
8-command: dpkg-query -W -f='id: ${Package}\nversion: ${Version}\n\n'
9+command: dpkg-query -W -f='name: ${Package}\nversion: ${Version}\n\n'
10 _description: Generates a list of packages
11
12 id: executable
13@@ -55,7 +55,7 @@
14 plugin: resource
15 _description: Generates a resource for all available executables
16 command:
17- find -H $(echo "$PATH" | sed -e 's/:/ /g') -maxdepth 1 -type f -executable -printf "id: %f\n\n"
18+ find -H $(echo "$PATH" | sed -e 's/:/ /g') -maxdepth 1 -type f -executable -printf "name: %f\n\n"
19
20 id: device
21 estimated_duration: 0.48

Subscribers

People subscribed via source and target branches