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