mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-27 17:40:06 +00:00
Remove obsolete multilightbox library import/export script
Change-Id: I9d93c30ef0f53ab904f1cd37bb3dcaa87310da93
This commit is contained in:
parent
b52231da6d
commit
b4efd957c4
25
importml.sh
25
importml.sh
|
@ -1,25 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [ $1 = "--reverse" ]; then
|
||||
MLDIR=$2
|
||||
else
|
||||
MLDIR=$1
|
||||
fi
|
||||
|
||||
JSDIR=$MLDIR/lib
|
||||
CSSDIR=$MLDIR/css
|
||||
IMGDIR=$MLDIR/img
|
||||
HOOKSFILE=$MLDIR/hooks.txt
|
||||
LOCALMLDIR=resources/multilightbox
|
||||
|
||||
if [ $1 = "--reverse" ]; then
|
||||
cp $LOCALMLDIR/*.js $JSDIR
|
||||
cp $LOCALMLDIR/multilightbox.css $CSSDIR
|
||||
cp img/close.svg img/fullscreen.svg img/defullscreen.svg $IMGDIR
|
||||
cp $LOCALMLDIR/hooks.txt $HOOKSFILE
|
||||
else
|
||||
cp $JSDIR/* resources/multilightbox/
|
||||
cp $CSSDIR/* resources/multilightbox/
|
||||
cp $IMGDIR/* img/
|
||||
cp $HOOKSFILE resources/multilightbox/
|
||||
fi
|
Loading…
Reference in a new issue