equal
deleted
inserted
replaced
8 PATH=/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin |
8 PATH=/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin |
9 PREFIX=/usr/local |
9 PREFIX=/usr/local |
10 |
10 |
11 PF_CONFDIR=$(postconf -h config_directory) |
11 PF_CONFDIR=$(postconf -h config_directory) |
12 PF_GID=$(id -g $(postconf -h mail_owner)) |
12 PF_GID=$(id -g $(postconf -h mail_owner)) |
|
13 POSTCONF=$(which postconf) |
13 LOCALE_DIR=${PREFIX}/share/locale |
14 LOCALE_DIR=${PREFIX}/share/locale |
14 DOC_DIR=${PREFIX}/share/doc/vmm |
15 DOC_DIR=${PREFIX}/share/doc/vmm |
15 if [ ${PREFIX} == "/usr" ]; then |
16 if [ ${PREFIX} == "/usr" ]; then |
16 MANDIR=${PREFIX}/share/man |
17 MANDIR=${PREFIX}/share/man |
17 else |
18 else |
80 [ -d ${DOC_DIR}/examples ] || mkdir -m 0755 -p ${DOC_DIR}/examples |
81 [ -d ${DOC_DIR}/examples ] || mkdir -m 0755 -p ${DOC_DIR}/examples |
81 install -m 0644 ${INSTALL_OPTS} pgsql-*.cf ${DOC_DIR}/examples |
82 install -m 0644 ${INSTALL_OPTS} pgsql-*.cf ${DOC_DIR}/examples |
82 install -m 0644 ${INSTALL_OPTS} vmm.cfg ${DOC_DIR}/examples |
83 install -m 0644 ${INSTALL_OPTS} vmm.cfg ${DOC_DIR}/examples |
83 |
84 |
84 # update config file |
85 # update config file |
85 ./update_config_0.4.x-0.5.py |
86 ./update_config_0.4.x-0.5.py $POSTCONF |
86 |
87 |