D13123: Make .deb and .rpm mime type handling optional at build time

Antonio Rojas noreply at phabricator.kde.org
Sun May 27 22:38:17 UTC 2018


arojas added a comment.


  In D13123#269385 <https://phabricator.kde.org/D13123#269385>, @mak wrote:
  
  > Checking for the dpkg and rpm binaries isn't really foolproof, because you can install rpm on Debian and dpkg on Fedora & Co. easily.
  >  The only issue proof thing that I can imagine would be checking for the distribution name in /etc/os-release, or maybe checking for the presence of /etc/debian_version.
  
  
  Most (all?) distros build packages in some sort of minimal container, so I don't think that will be an issue in practice. Using the distribution name would require maintaining an exhaustive list of distributions using each package management system, not really feasible.

REPOSITORY
  R134 Discover Software Store

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

To: arojas, apol
Cc: mak, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180527/0458ce6e/attachment.html>


More information about the Plasma-devel mailing list