From bad7fb67d7e2a6939d7e6de1779100970d41b600 Mon Sep 17 00:00:00 2001 From: Michael Hamann Date: Sat, 30 Mar 2013 23:31:41 +0100 Subject: Add missing jQuery-UI image and update update script For just one image another syntax was used, this fixes the update script to also fetch this image. --- .../jquery/jquery-ui-theme/images/animated-overlay.gif | Bin 0 -> 1738 bytes lib/scripts/jquery/update.sh | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 lib/scripts/jquery/jquery-ui-theme/images/animated-overlay.gif (limited to 'lib/scripts') diff --git a/lib/scripts/jquery/jquery-ui-theme/images/animated-overlay.gif b/lib/scripts/jquery/jquery-ui-theme/images/animated-overlay.gif new file mode 100644 index 000000000..d441f75eb Binary files /dev/null and b/lib/scripts/jquery/jquery-ui-theme/images/animated-overlay.gif differ diff --git a/lib/scripts/jquery/update.sh b/lib/scripts/jquery/update.sh index 3bc2c761e..749b0f4e2 100755 --- a/lib/scripts/jquery/update.sh +++ b/lib/scripts/jquery/update.sh @@ -19,7 +19,7 @@ wget -nv https://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.js -O jq # load the smoothness theme mkdir -p jquery-ui-theme/images wget -nv -qO- https://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/smoothness/jquery-ui.css | sed "s/font-family:[^;]*;//" > jquery-ui-theme/smoothness.css -images=`gawk 'match($0, /url\((images\/[^\)]+)\)/, m) { print m[1] }' jquery-ui-theme/smoothness.css` +images=`gawk 'match($0, /url\("?(images\/[^\)"]+)"?\)/, m) { print m[1] }' jquery-ui-theme/smoothness.css` for img in $images do wget -nv https://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/smoothness/$img -O jquery-ui-theme/$img -- cgit v1.2.3