Page MenuHomeWickedGov Phorge

update-jquery-webfonts.sh
No OneTemporary

Size
437 B
Referenced Files
None
Subscribers
None

update-jquery-webfonts.sh

#!/bin/bash
BASEDIR=$(dirname "$0")
BASEDIR="$BASEDIR/.."
DEST="$BASEDIR/lib/jquery.webfonts"
CLONEDIR="$BASEDIR/vendor/jquery.webfonts"
UPSTREAM="https://github.com/wikimedia/jquery.webfonts.git"
echo "Getting latest jquery.webfonts from $UPSTREAM"
if [ -d "$CLONEDIR" ]; then
pushd "$CLONEDIR"
git pull
popd
else
git clone "$UPSTREAM" "$CLONEDIR"
fi
rm -rf "$DEST/jquery.webfonts.js"
cp -R "$CLONEDIR"/{src,*LICENSE} "$DEST"

File Metadata

Mime Type
text/x-shellscript
Expires
Mon, Nov 23, 12:23 (5 d, 6 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
93/39/641e2274f1c1ac090fb3dd976678
Default Alt Text
update-jquery-webfonts.sh (437 B)

Event Timeline