fix maintainer-script-should-not-use-recursive-chown-or-chmod

This commit is contained in:
Jan Dittberner 2019-08-13 12:55:26 +02:00
parent dd196e0cb7
commit f6770602ef
2 changed files with 2 additions and 1 deletions

View file

@ -11,7 +11,7 @@ case "$1" in
adduser --system --quiet --home /srv/cacert-boardvoting cacert-boardvoting adduser --system --quiet --home /srv/cacert-boardvoting cacert-boardvoting
DATADIR=/srv/cacert-boardvoting/data DATADIR=/srv/cacert-boardvoting/data
if [ -d "${DATADIR}" ]; then if [ -d "${DATADIR}" ]; then
chown -R cacert-boardvoting "${DATADIR}" chown cacert-boardvoting "${DATADIR}"
else else
install -d --owner cacert-boardvoting --mode 0700 "${DATADIR}" install -d --owner cacert-boardvoting --mode 0700 "${DATADIR}"
fi fi

1
debian/changelog vendored
View file

@ -4,6 +4,7 @@ cacert-boardvoting (0.6.0-2) UNRELEASED; urgency=medium
* update for Debian buster * update for Debian buster
* update to debhelper 12 * update to debhelper 12
* use /usr/share/dpkg/pkg-info.mk * use /usr/share/dpkg/pkg-info.mk
* fix maintainer-script-should-not-use-recursive-chown-or-chmod
-- Jan Dittberner <jandd@cacert.org> Mon, 12 Aug 2019 19:57:13 +0200 -- Jan Dittberner <jandd@cacert.org> Mon, 12 Aug 2019 19:57:13 +0200