File debian.kopano-common.postinst of Package kopano

#!/bin/sh
# chmod 750 is mirrored in RPM with %attr in %files rather than chmod in %post.
#
chmod 750 /var/log/kopano || :
chown -Rh kopano:kopano /var/log/kopano 2>/dev/null || :
chown kopano:kopano /var/lib/kopano 2>/dev/null || :
chown kopano:kopano /var/run/kopano 2>/dev/null || :
if [ -x /bin/systemd-tmpfiles ]; then
	/bin/systemd-tmpfiles --create kopano-tmpfiles.conf || :
fi
openSUSE Build Service is sponsored by