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