Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7480773
update-jquery-webfonts.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
437 B
Referenced Files
None
Subscribers
None
update-jquery-webfonts.sh
View Options
#!/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
Details
Attached
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)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment