Commit 9e00d1e4 authored by Svante Signell's avatar Svante Signell

Create directory for 51-debian-sudo.conf during build

parent 979317fb
policykit-1 (0.105-18+devuan2.11) ascii-proposed; urgency=medium
* debian/rules: Fix creation of debian/policykit-1/etc/polkit-1/localauthority.conf.d
during build.
-- Svante Signell <> Fri, 25 May 2018 16:54:36 +0200
policykit-1 (0.105-18+devuan2.10) ascii-proposed; urgency=medium
* debian/rules: Fix installation of conffile
......@@ -64,6 +64,7 @@ override_dh_install:
# on Devuan use sudo group; on Ubuntu, also allow the admin group for
# historical reasons
mkdir -p debian/policykit-1/etc/polkit-1/localauthority.conf.d
if dpkg-vendor --is ubuntu; then \
/bin/echo -e "[Configuration]\nAdminIdentities=unix-group:sudo;unix-group:admin" > debian/policykit-1/etc/polkit-1/localauthority.conf.d/51-ubuntu-admin.conf; \
elif dpkg-vendor --is devuan; then \
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment