Date: Thursday, August 20, 2015 @ 21:26:33 Author: jelle Revision: 138565
Make /var/lib/mopidy owned by mopidy Also add a message in the post_upgrade() to inform the user that he might need to chown the /var/lib/mopidy directory. Modified: mopidy/trunk/mopidy.install ----------------+ mopidy.install | 4 ++++ 1 file changed, 4 insertions(+) Modified: mopidy.install =================================================================== --- mopidy.install 2015-08-20 19:04:24 UTC (rev 138564) +++ mopidy.install 2015-08-20 19:26:33 UTC (rev 138565) @@ -1,6 +1,10 @@ post_upgrade() { getent group mopidy &>/dev/null || groupadd -g 46 mopidy >/dev/null getent passwd mopidy &>/dev/null || useradd -u 46 -d /var/lib/mopidy -s /bin/false -g mopidy -G audio mopidy >/dev/null + + # Remove me when updating to pkgrel -5 or a new pkgver + echo "It's adviced to change the ownership of /var/lib/mopidy to mopidy:mopidy." + echo "Otherwise some mopidy addons might not work." } post_install() {