zoneminder/distros/ubuntu1204_cmake/zoneminder.postinst

14 lines
220 B
Plaintext
Raw Normal View History

#! /bin/sh
set -e
if [ "$1" = "configure" ]; then
chown www-data:root /var/log/zm
chown www-data:www-data /var/lib/zm
if [ -z "$2" ]; then
chown www-data:www-data -R /var/cache/zoneminder
fi
fi
#DEBHELPER#