diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2013-03-10 20:18:58 +0200 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2013-03-10 20:18:58 +0200 |
commit | d0071b9d4ad1c595965cbce982ba9edee5f4176a (patch) | |
tree | 32e384bbeb551be726ec0716113b87ec1fe4c917 /install-deps.sh | |
parent | 343dd6960cee4c6533e9e8dbfa544cafb5b672b4 (diff) | |
download | aconf-d0071b9d4ad1c595965cbce982ba9edee5f4176a.tar.bz2 aconf-d0071b9d4ad1c595965cbce982ba9edee5f4176a.tar.xz |
development shell
Diffstat (limited to 'install-deps.sh')
-rwxr-xr-x | install-deps.sh | 8 |
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 |