diff --git a/debian/cacert-boardvoting.postinst b/debian/cacert-boardvoting.postinst index 8d9c5fb..2efcdd8 100644 --- a/debian/cacert-boardvoting.postinst +++ b/debian/cacert-boardvoting.postinst @@ -11,7 +11,7 @@ case "$1" in adduser --system --quiet --home /srv/cacert-boardvoting cacert-boardvoting DATADIR=/srv/cacert-boardvoting/data if [ -d "${DATADIR}" ]; then - chown -R cacert-boardvoting "${DATADIR}" + chown cacert-boardvoting "${DATADIR}" else install -d --owner cacert-boardvoting --mode 0700 "${DATADIR}" fi diff --git a/debian/changelog b/debian/changelog index ee8a596..b0f0c4b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ cacert-boardvoting (0.6.0-2) UNRELEASED; urgency=medium * update for Debian buster * update to debhelper 12 * use /usr/share/dpkg/pkg-info.mk + * fix maintainer-script-should-not-use-recursive-chown-or-chmod -- Jan Dittberner Mon, 12 Aug 2019 19:57:13 +0200