mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -04:00
fix jquery version regex to make @0ip happy
This commit is contained in:
parent
dfa857d606
commit
394d542d5e
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ echo "Ensure jQuery is downloaded and up to date..."
|
||||||
DOWNLOAD_JQUERY="true"
|
DOWNLOAD_JQUERY="true"
|
||||||
NEEDED_VERSION="1.7.1"
|
NEEDED_VERSION="1.7.1"
|
||||||
if [ -f "static/js/jquery.js" ]; then
|
if [ -f "static/js/jquery.js" ]; then
|
||||||
VERSION=$(cat static/js/jquery.js | head -n 3 | grep -o "v[0-9].[0-9].[0-9]");
|
VERSION=$(cat static/js/jquery.js | head -n 3 | grep -o "v[0-9]\.[0-9]\(\.[0-9]\)\?");
|
||||||
|
|
||||||
if [ ${VERSION#v} = $NEEDED_VERSION ]; then
|
if [ ${VERSION#v} = $NEEDED_VERSION ]; then
|
||||||
DOWNLOAD_JQUERY="false"
|
DOWNLOAD_JQUERY="false"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue