diff --git a/common/polkit-parsing.sh b/common/polkit-parsing.sh index 5ccf5b12c6eb92e2ea8ed29313e86479b88b9328..d7d9ac88c0a0dd09f401fc2cd8e4c91ed1b04294 100755 --- a/common/polkit-parsing.sh +++ b/common/polkit-parsing.sh @@ -23,11 +23,7 @@ trap cleanup EXIT # Restart polkitd to enable debug support (the standard systemd .service file # starts it with --no-debug) -if [ -e /usr/libexec/polkitd ]; then - # Debian Bullseye, Apertis v2022 and v2023 - polkitd=/usr/libexec/polkitd -elif [ -e /usr/lib/polkit-1/polkitd ]; then - # Debian Bookworm, Apertis v2024+ +if [ -e /usr/lib/polkit-1/polkitd ]; then polkitd=/usr/lib/polkit-1/polkitd else # polkitd is called with errexit set to "off", then