[SCM] mpd-sima/master: Fixed postinst chmod
kaliko-guest at users.alioth.debian.org
kaliko-guest at users.alioth.debian.org
Sun Sep 28 11:34:25 UTC 2014
The following commit has been merged in the master branch:
commit 1bc12644de9af68af9eda2a73a4de176fe169c86
Author: Geoffroy Youri Berret <efrim at azylum.org>
Date: Sat Feb 8 17:37:15 2014 +0100
Fixed postinst chmod
diff --git a/debian/mpd-sima.postinst b/debian/mpd-sima.postinst
index 94258c4..38eb2fd 100755
--- a/debian/mpd-sima.postinst
+++ b/debian/mpd-sima.postinst
@@ -38,7 +38,9 @@ do_mpd_sima_perms () {
# 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
- dpkg-statoverride --force --quiet --update --add mpd-sima mpd-sima 0775 "$i"
+ OCT=0664
+ [ -d "$i" ] && OCT=0755
+ dpkg-statoverride --force --quiet --update --add mpd-sima mpd-sima $OCT "$i"
fi
done
}
--
mpd-sima packaging
More information about the pkg-multimedia-commits
mailing list