D5942: Check if plymouth file is known to update-alternatives before setting

Leszek Lesner noreply at phabricator.kde.org
Tue May 23 09:59:03 UTC 2017


leszeklesner created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  If the plymouth theme is not known to update-alternatives trying to execute update-alternatives --set will always fail. 
  As plymouth kcm shows all plymouth themes in themes directory but not all are necessarily known to update-alternatives we need to check if they are known and if not use the update-alternatives --install instead of --set.

REPOSITORY
  R258 Plymouth KCM

REVISION DETAIL
  https://phabricator.kde.org/D5942

AFFECTED FILES
  src/helper.cpp

To: leszeklesner, mart
Cc: plasma-devel, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170523/1ed7ef3a/attachment.html>


More information about the Plasma-devel mailing list