[SCM] mpd-sima/master: Fixed wrong path value for stat overrides.
kaliko-guest at users.alioth.debian.org
kaliko-guest at users.alioth.debian.org
Tue May 31 15:24:14 UTC 2016
The following commit has been merged in the master branch:
commit 19cffc0fdabd905889d53a001562abfa5f6b1bbb
Author: geoffroy Youri Berret <efrim at azylum.org>
Date: Tue May 31 16:38:06 2016 +0200
Fixed wrong path value for stat overrides.
dpkg-statoverriding /var/log/mpd-sima/* is useless and harmful when the
folder is empty ("/var/log/mpd-sima/*" ends up unexpanded in statoverride).
Git-Dch: Short
Closes: #825561
diff --git a/debian/mpd-sima.postinst b/debian/mpd-sima.postinst
index 52157fe..35e009b 100755
--- a/debian/mpd-sima.postinst
+++ b/debian/mpd-sima.postinst
@@ -30,11 +30,9 @@ do_mpd_sima_adduser () {
}
do_mpd_sima_perms () {
- for i in /var/log/mpd-sima /var/log/mpd-sima/*; do
- if ! dpkg-statoverride --list --quiet "$i" >/dev/null; then
- dpkg-statoverride --force --quiet --update --add mpd-sima mpd-sima 0755 "$i"
- fi
- done
+ if ! dpkg-statoverride --list --quiet "/var/log/mpd-sima" >/dev/null; then
+ dpkg-statoverride --force --quiet --update --add mpd-sima mpd-sima 0755 "/var/log/mpd-sima"
+ fi
# mpd-sima group should have write access to database to ease users access
for i in /var/lib/mpd-sima /var/lib/mpd-sima/sima.db; do
if ! dpkg-statoverride --list --quiet "$i" >/dev/null; then
--
mpd-sima packaging
More information about the pkg-multimedia-commits
mailing list