]> git.pld-linux.org Git - packages/Zope.git/blobdiff - Zope-mkzopeinstance
- added req. (Hotfix)
[packages/Zope.git] / Zope-mkzopeinstance
index d24d122978bb3e949d659111277e894b14c78333..0a90fccea02ad7a1c41bb76959bb8c1d9af7a716 100644 (file)
@@ -16,14 +16,19 @@ else
 fi
 
 umask 002
-python /usr/lib/zope/mkzopeinstance.py \
+python /usr/lib/zope/bin/mkzopeinstance.py \
        -s /etc/zope/skel \
        -d "$destdir" \
        $namepass || exit $?
 
+install -d "/etc/zope/$name"
 mv "${destdir}"/etc/* "/etc/zope/$name"
 
-chown root.zope ${destdir}
-chmod 770 ${destdir}
-chown -R zope.zope ${destdir}/*
-chmod a+X  ${destdir}/*
+chmod a+x "${destdir}"/bin/*
+
+install -d "/var/log/zope/$name"
+
+chown zope.zope "${destdir}" "/var/log/zope/$name"
+chmod 770 "${destdir}" "/var/log/zope/$name"
+chown -R zope.zope "${destdir}"/*
+chmod a+X  "${destdir}"/*
This page took 0.050168 seconds and 4 git commands to generate.