summaryrefslogtreecommitdiff
path: root/bin/installDeps.sh
diff options
context:
space:
mode:
authorPeter 'Pita' Martischka <petermartischka@googlemail.com>2011-07-30 16:33:35 +0100
committerPeter 'Pita' Martischka <petermartischka@googlemail.com>2011-07-30 16:33:35 +0100
commita47b5ab4585ec0bbcaf37e928c443dc20dcb65fd (patch)
treea8182c75e7986c0512707df5819e0f0bef2c15bc /bin/installDeps.sh
parent325839f9fdc151514ff6435b6f95e3b7e1997219 (diff)
downloadetherpad-lite-a47b5ab4585ec0bbcaf37e928c443dc20dcb65fd.zip
added the ability to add costum js/css
Diffstat (limited to 'bin/installDeps.sh')
-rwxr-xr-xbin/installDeps.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/installDeps.sh b/bin/installDeps.sh
index feff219e..ffe15b9a 100755
--- a/bin/installDeps.sh
+++ b/bin/installDeps.sh
@@ -53,4 +53,12 @@ fi
echo "Clear minfified cache..."
rm -f var/minified*
+echo "ensure custom css/js files are created..."
+for f in $(cat "static/custom/.gitignore")
+do
+ if [ ! -f "static/custom/$f" ]; then
+ touch "static/custom/$f"
+ fi
+done
+
exit 0