1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Make Brew quitter: Round 3

This commit is contained in:
RowenStipe 2016-03-22 14:20:05 -04:00
parent bfe730241b
commit ff41443b1e

View File

@ -97,16 +97,16 @@ function install() {
fi fi
fcho "Updating brew formulas ..." fcho "Updating brew formulas ..."
if [[ $TRAVIS = true ]]; then if [[ $TRAVIS = true ]]; then
brew update > /dev/null brew update -vv
else else
brew update brew update
fi fi
fcho "Getting home brew formulas ..." fcho "Getting home brew formulas ..."
sleep 3 sleep 3
if [[ $TRAVIS != true ]]; then #travis check if [[ $TRAVIS != true ]]; then #travis check
brew install -v wget libtool automake brew install -vv wget libtool automake
fi fi
brew install -v git ffmpeg qrencode autoconf check qt5 libvpx opus sqlcipher libsodium brew install -vv git ffmpeg qrencode autoconf check qt5 libvpx opus sqlcipher libsodium
QT_VER=($(ls ${QT_DIR} | sed -n -e 's/^\([0-9]*\.([0-9]*\.([0-9]*\).*/\1/' -e '1p;$p')) QT_VER=($(ls ${QT_DIR} | sed -n -e 's/^\([0-9]*\.([0-9]*\.([0-9]*\).*/\1/' -e '1p;$p'))
QT_DIR_VER="${QT_DIR}/${QT_VER[1]}" QT_DIR_VER="${QT_DIR}/${QT_VER[1]}"