Bug 237 - Added /var/run/zm creation/destruction
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1717 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
3aff14ed63
commit
ebac915ae1
|
@ -22,4 +22,9 @@ EXTRA_DIST = \
|
|||
# Yes, you are correct. This is a HACK!
|
||||
install-data-hook:
|
||||
( cd $(DESTDIR)$(sysconfdir); chown $(webuser):$(webgroup) $(sysconf_DATA); chmod 600 $(sysconf_DATA) )
|
||||
-( if ! test -e $(RUNDIR); then mkdir $(RUNDIR); fi )
|
||||
( if ! test -e $(ZM_RUNDIR); then mkdir $(ZM_RUNDIR); fi; chown $(webuser):$(webgroup) $(ZM_RUNDIR); chmod u+w $(ZM_RUNDIR) )
|
||||
|
||||
uninstall-hook:
|
||||
@-( cd $(DESTDIR)$(webdir); rm -rf events graphics images sounds temp )
|
||||
@-( rm -rf $(ZM_RUNDIR) )
|
||||
|
|
Loading…
Reference in New Issue