Install hledger-web in /usr/local.

This commit is contained in:
Nolan Darilek 2015-08-03 17:30:05 -05:00
parent 978987de62
commit b96aaed4b2
2 changed files with 2 additions and 2 deletions

View File

@ -20,4 +20,4 @@ set -euo pipefail
# By default, this script does nothing. You'll have to modify it as
# appropriate for your application.
cabal update
cabal install hledger-web-0.26
cabal install --root-cmd=sudo --global --prefix=/usr/local hledger-web

View File

@ -76,6 +76,6 @@ const myCommand :Spk.Manifest.Command = (
argv = ["/sandstorm-http-bridge", "8000", "--", "/opt/app/.sandstorm/launcher.sh"],
environ = [
# Note that this defines the *entire* environment seen by your app.
(key = "PATH", value = "/usr/local/bin:/usr/bin:/bin:/home/vagrant/.cabal/bin")
(key = "PATH", value = "/usr/local/bin:/usr/bin:/bin")
]
);