aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/scripts/jquery
diff options
context:
space:
mode:
Diffstat (limited to 'lib/scripts/jquery')
-rwxr-xr-xlib/scripts/jquery/update.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/scripts/jquery/update.sh b/lib/scripts/jquery/update.sh
index 7bfe1eaf4..b0de441f9 100755
--- a/lib/scripts/jquery/update.sh
+++ b/lib/scripts/jquery/update.sh
@@ -30,6 +30,9 @@ for LNG in ../../../inc/lang/*
do
CODE=`basename $LNG`
wget -nv https://raw2.github.com/jquery/jquery-ui/master/ui/i18n/jquery.ui.datepicker-$CODE.js -O $LNG/jquery.ui.datepicker.js
+ if [ ! -s "$LNG/jquery.ui.datepicker.js" ]; then
+ rm -f $LNG/jquery.ui.datepicker.js
+ fi
done
# some custom language codes