From 9d2152b513a40d2796d352a69a8d92baa6130986 Mon Sep 17 00:00:00 2001 From: James Chen Date: Fri, 5 Jul 2013 13:45:37 +0800 Subject: [PATCH] sudo apt-get update before install new packages --- tools/travis-scripts/before-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/travis-scripts/before-install.sh b/tools/travis-scripts/before-install.sh index 592a0b2ead..d764e0735a 100755 --- a/tools/travis-scripts/before-install.sh +++ b/tools/travis-scripts/before-install.sh @@ -94,6 +94,7 @@ if [ "$GEN_JSB"x = "YES"x ]; then install_android_ndk install_llvm elif [ "$PLATFORM"x = "linux"x ]; then + sudo apt-get update bash $COCOS2DX_ROOT/install-deps-linux.sh elif [ "$PLATFORM"x = "nacl"x ]; then install_nacl_sdk