Ops, looks like I messed up installDeps.sh
parent
de32503f8e
commit
22b00264d8
|
@ -1,3 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
#Move to the folder where ep-lite is installed
|
#Move to the folder where ep-lite is installed
|
||||||
FOLDER=$(dirname $(readlink -f $0))
|
FOLDER=$(dirname $(readlink -f $0))
|
||||||
cd $FOLDER
|
cd $FOLDER
|
||||||
|
@ -54,9 +56,8 @@ echo "Clear minfified cache..."
|
||||||
rm -f var/minified*
|
rm -f var/minified*
|
||||||
|
|
||||||
echo "ensure custom css/js files are created..."
|
echo "ensure custom css/js files are created..."
|
||||||
FILES=( index pad timeslider )
|
|
||||||
|
|
||||||
for f in ${FILES[@]}
|
for f in "index" "pad" "timeslider"
|
||||||
do
|
do
|
||||||
if [ ! -f "static/custom/$f.js" ]; then
|
if [ ! -f "static/custom/$f.js" ]; then
|
||||||
cp -v "static/custom/js.template" "static/custom/$f.js" || exit 1
|
cp -v "static/custom/js.template" "static/custom/$f.js" || exit 1
|
||||||
|
|
Loading…
Reference in New Issue