Adapt pmctl to new update package in portbase

This commit is contained in:
Daniel
2019-10-25 13:29:16 +02:00
parent bfde6cb044
commit 90c89eb012
7 changed files with 101 additions and 76 deletions

View File

@@ -79,7 +79,7 @@ func show(cmd *cobra.Command, opts *Options) error {
opts.Identifier += ".exe"
}
file, err := getFile(opts)
file, err := registry.GetFile(platform(opts.Identifier))
if err != nil {
return fmt.Errorf("could not get component: %s", err)
}