void-packages/srcpkgs/icecast/INSTALL
2011-11-07 12:39:26 -07:00

9 lines
235 B
Text

case ${ACTION} in
post)
[ ! -d var/log/icecast ] && mkdir -p var/log/icecast
[ ! -f var/log/icecast/access.log ] && \
touch var/log/icecast/access.log && \
touch var/log/icecast/error.log
chown -R 99:99 var/log/icecast
;;
esac