Ops, looks like I messed up installDeps.sh

This commit is contained in:
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
FOLDER=$(dirname $(readlink -f $0))
cd $FOLDER
@ -54,9 +56,8 @@ echo "Clear minfified cache..."
rm -f var/minified*
echo "ensure custom css/js files are created..."
FILES=( index pad timeslider )
for f in ${FILES[@]}
for f in "index" "pad" "timeslider"
do
if [ ! -f "static/custom/$f.js" ]; then
cp -v "static/custom/js.template" "static/custom/$f.js" || exit 1