upgrade.sh
changeset 81 89b71a9abfcf
parent 68 7ae95b9938c4
child 86 e43e4e7e9ec0
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 -m 0700 ${INSTALL_OPTS} vmm ${PREFIX}/sbin
    33 install -m 0700 ${INSTALL_OPTS} vmm ${PREFIX}/sbin
    34 
    34 
    35 [ -d ${LOCALE_DIR} ] || mkdir -m 0755 -p ${LOCALE_DIR}
    35 [ -d ${LOCALE_DIR} ] || mkdir -m 0755 -p ${LOCALE_DIR}