From that referenced code: # setfiles doesn't come with a stable command API and older versions # needs a different invocation syntax. On older versions the usage # information explicitly lists "setfiles -c policyfile" which is not # present in newer versions. As setfiles doesn't come with a simple # --version option, checking for this extra element in the usage # was the only pointer I could come up with to differentiate the # call options. I don't think this is "the right way" at all. How I see it is that all this should be hidden from any installer. It's a special action needed by the specific solution (SELinux). And it's definitely not "An Installer Bug", it might be a feature request though. But a feature request definitely needs a proper description.