upgrade.sh
changeset 86 e43e4e7e9ec0
parent 81 89b71a9abfcf
child 94 0d303d15549e
--- a/upgrade.sh	Fri Sep 12 21:24:10 2008 +0000
+++ b/upgrade.sh	Tue Sep 16 05:55:54 2008 +0000
@@ -10,6 +10,7 @@
 
 PF_CONFDIR=$(postconf -h config_directory)
 PF_GID=$(id -g $(postconf -h mail_owner))
+POSTCONF=$(which postconf)
 LOCALE_DIR=${PREFIX}/share/locale
 DOC_DIR=${PREFIX}/share/doc/vmm
 if [ ${PREFIX} == "/usr" ]; then
@@ -82,5 +83,5 @@
 install -m 0644 ${INSTALL_OPTS} vmm.cfg ${DOC_DIR}/examples
 
 # update config file
-./update_config_0.4.x-0.5.py
+./update_config_0.4.x-0.5.py $POSTCONF