install.sh
changeset 81 89b71a9abfcf
parent 39 8dcf739fc97e
child 102 485d3f7d6981
equal deleted inserted replaced
80:5dedc673524e 81:89b71a9abfcf
    25 if [ $(id -u) -ne 0 ]; then
    25 if [ $(id -u) -ne 0 ]; then
    26     echo "Run this script as root."
    26     echo "Run this script as root."
    27     exit 1
    27     exit 1
    28 fi
    28 fi
    29 
    29 
    30 python setup.py install --prefix ${PREFIX}
    30 python setup.py -q install --prefix ${PREFIX}
    31 python setup.py clean --all >/dev/null
    31 python setup.py clean --all >/dev/null
    32 
    32 
    33 install -b -m 0600 ${INSTALL_OPTS} vmm.cfg ${PREFIX}/etc/
    33 install -b -m 0600 ${INSTALL_OPTS} vmm.cfg ${PREFIX}/etc/
    34 install ${INSTALL_OPTS_CF} pgsql-*.cf ${PF_CONFDIR}/
    34 install ${INSTALL_OPTS_CF} pgsql-*.cf ${PF_CONFDIR}/
    35 install -m 0700 ${INSTALL_OPTS} vmm ${PREFIX}/sbin
    35 install -m 0700 ${INSTALL_OPTS} vmm ${PREFIX}/sbin