install.sh
branchv0.6.x
changeset 164 67dc18294de6
parent 159 78b6b06188d3
child 167 bb58aedefa3a
equal deleted inserted replaced
163:1981f285f0c0 164:67dc18294de6
    24 if [ $(id -u) -ne 0 ]; then
    24 if [ $(id -u) -ne 0 ]; then
    25     echo "Run this script as root."
    25     echo "Run this script as root."
    26     exit 1
    26     exit 1
    27 fi
    27 fi
    28 
    28 
    29 python setup.py -q install --prefix ${PREFIX}
    29 python setup.py -q install --force --prefix ${PREFIX}
    30 python setup.py clean --all >/dev/null
    30 python setup.py clean --all >/dev/null
    31 
    31 
    32 install -b -m 0600 ${INSTALL_OPTS} vmm.cfg ${PREFIX}/etc/
    32 install -b -m 0600 ${INSTALL_OPTS} vmm.cfg ${PREFIX}/etc/
    33 install ${INSTALL_OPTS_CF} postfix/pgsql-*.cf ${PF_CONFDIR}/
    33 install ${INSTALL_OPTS_CF} postfix/pgsql-*.cf ${PF_CONFDIR}/
    34 install -m 0700 ${INSTALL_OPTS} vmm ${PREFIX}/sbin
    34 install -m 0700 ${INSTALL_OPTS} vmm ${PREFIX}/sbin