install.sh
changeset 14 ebc9b864bc9a
parent 4 f3c30b7421b9
child 23 d5ad5432e9eb
--- a/install.sh	Tue Mar 04 23:28:04 2008 +0000
+++ b/install.sh	Sun Apr 06 21:36:00 2008 +0000
@@ -9,7 +9,6 @@
 INSTALL_OPTS="-g 0 -o 0 -p -v"
 PREFIX=/usr/local
 PF_CONFDIR=$(postconf -h config_directory)
-PF_GID=$(id -g postfix)
 DOC_DIR=${PREFIX}/share/doc/vmm
 DOCS="ChangeLog COPYING INSTALL README"
 
@@ -22,7 +21,7 @@
 python setup.py clean --all >/dev/null
 
 install -b -m 0600 ${INSTALL_OPTS} vmm.cfg ${PREFIX}/etc/
-install -b -m 0640 -g ${PF_GID} -o 0 -p -v pgsql-*.cf ${PF_CONFDIR}/
+install -b -m 0640 ${INSTALL_OPTS} pgsql-*.cf ${PF_CONFDIR}/
 install -m 0700 ${INSTALL_OPTS} vmm ${PREFIX}/sbin
 
 [ -d ${DOC_DIR} ] || mkdir -m 0755 -p ${DOC_DIR}
@@ -35,6 +34,6 @@
 install -m 0644 ${INSTALL_OPTS} vmm.cfg ${DOC_DIR}/examples
 
 echo
-echo "Don't forget to edit ${PREFIX}/etc/vmm.cfg"
+echo "Don't forget to edit ${PREFIX}/etc/vmm.cfg - or run: vmm cf"
 echo "and ${PF_CONFDIR}/pgsql-*.cf files."
 echo