Commit 8e9631ac authored by KatolaZ's avatar KatolaZ

Merge branch 'suites/ascii-proposed' into suites/ascii

parents 1c0f839c 9e00d1e4
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 <svante.signell@gmail.com> 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
/etc/polkit-1/localauthority.conf.d/51-debian-sudo.conf. (Thanks Jjp137)
-- Svante Signell <svante.signell@gmail.com> Thu, 24 May 2018 18:54:36 +0200
policykit-1 (0.105-18+devuan2.9) ascii-proposed; urgency=medium
* debian/control:
......
......@@ -62,19 +62,18 @@ override_dh_install:
--sourcedir=debian/install/consolekit \
--list-missing
# 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 \
/bin/echo -e "[Configuration]\nAdminIdentities=unix-group:sudo" > debian/policykit-1/etc/polkit-1/localauthority.conf.d/51-debian-sudo.conf; \
fi
override_dh_auto_clean:
dh_auto_clean --builddirectory=build-consolekit
dh_auto_clean --builddirectory=build-elogind
rm -rf debian/install/
rm -rf build-consolekit/
rm -rf build-elogind/
override_dh_install-arch:
dh_install -a
# on Debian use sudo group; on Ubuntu, also allow the admin group for
# historical reasons
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 debian; then \
/bin/echo -e "[Configuration]\nAdminIdentities=unix-group:sudo" > debian/policykit-1/etc/polkit-1/localauthority.conf.d/51-debian-sudo.conf; \
fi
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