Install related ref instead attempting to upgrade it

Authored by jgrulich on Nov 13 2017, 12:09 PM.

Description

Install related ref instead attempting to upgrade it

Summary:
When upgrading an app, we attempt to also upgrade related refs, but we
fail if some of the listed refs is not installed. We should check whether
we are trying to upgrade installed ref and if not, then just install it.

Reviewers: apol

Reviewed By: apol

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D8784