Ops, looks like I messed up installDeps.sh

pull/57/head
Peter 'Pita' Martischka 2011-07-31 17:37:50 +01:00
parent de32503f8e
commit 22b00264d8
1 changed files with 3 additions and 2 deletions

View File

@ -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