On (24/11/15 15:04), Jakub Hrozek wrote:
On Tue, Nov 24, 2015 at 02:11:10PM +0100, Lukas Slebodnik wrote:
> C) or directly test for "/usr/share/polkit-1/rules.d"
> but it could be overrriden with configure argument as other paths
> e.g. --with-init-dir (default /etc/rc.d/init.d)
> --with-environment-file (default /etc/sysconfig/sssd)
I like this one the most. If there is no portable way of autodetecting
the directory, we should just add another configure-time option
configure-time
option should be enough
end the default "/usr/share/polkit-1/rules.d" should work for most of
distributions.
I checked opensuse, debian, fedora, arch
LS