From 28c5e3ffb1ca830befcff062b709cfbf2bcd03cb Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Sat, 26 Nov 2011 00:58:47 -0500 Subject: [PATCH] Fix jquery version test: #234 --- bin/installDeps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/installDeps.sh b/bin/installDeps.sh index 59e47456..08826085 100755 --- a/bin/installDeps.sh +++ b/bin/installDeps.sh @@ -49,7 +49,7 @@ echo "Ensure jQuery is downloaded and up to date..." DOWNLOAD_JQUERY="true" NEEDED_VERSION="1.7" if [ -f "static/js/jquery.min.js" ]; then - VERSION=$(cat static/js/jquery.min.js | head -n 1 | grep -o "v[0-9].[0-9]"); + VERSION=$(cat static/js/jquery.min.js | head -n 3 | grep -o "v[0-9].[0-9]"); if [ ${VERSION#v} = $NEEDED_VERSION ]; then DOWNLOAD_JQUERY="false"