Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1431687
update-jquery-webfonts.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
436 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.wefonts"
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
Sat, May 16, 20:57 (1 d, 12 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b1/f9/5f7825a1679cea1614a6493ec7be
Default Alt Text
update-jquery-webfonts.sh (436 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment