summaryrefslogtreecommitdiffstats
path: root/install-deps.sh
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2013-03-10 20:18:58 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2013-03-10 20:18:58 +0200
commitd0071b9d4ad1c595965cbce982ba9edee5f4176a (patch)
tree32e384bbeb551be726ec0716113b87ec1fe4c917 /install-deps.sh
parent343dd6960cee4c6533e9e8dbfa544cafb5b672b4 (diff)
downloadacf2-d0071b9d4ad1c595965cbce982ba9edee5f4176a.tar.bz2
acf2-d0071b9d4ad1c595965cbce982ba9edee5f4176a.tar.xz
development shell
Diffstat (limited to 'install-deps.sh')
-rwxr-xr-xinstall-deps.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/install-deps.sh b/install-deps.sh
index 7a1a708..dcea022 100755
--- a/install-deps.sh
+++ b/install-deps.sh
@@ -1,6 +1,10 @@
#!/bin/sh
-# Copyright (c) 2012 Kaarle Ritvanen
+# Copyright (c) 2012-2013 Kaarle Ritvanen
# See LICENSE file for license details
-exec apk add lua-augeas lua-filesystem lua-json4 lua-stringy uwsgi uwsgi-lua
+PACKAGES="lua-augeas lua-filesystem lua-json4 lua-stringy uwsgi uwsgi-lua"
+
+[ "$1" = -d ] && PACKAGES="$PACKAGES bash curl"
+
+exec apk add $PACKAGES