debian: install policykit-1 or polkitd depending on the version

Old Debian and Ubuntu versions didn't have a separate polkitd yet. Make
both optional so it's installed the one that is available.
This commit is contained in:
Íñigo Huguet 2024-08-21 10:37:42 +02:00
parent d899f8a1ca
commit d5a7d859a5

View file

@ -71,7 +71,6 @@ install \
meson \
mobile-broadband-provider-info \
pkg-config \
polkitd \
ppp \
ppp-dev \
python3-dbus \
@ -87,6 +86,8 @@ install \
install_ignore_missing \
python-setuptools \
policykit-1 \
polkitd \
\
#end