diff --git a/hledger-install/hledger-install.sh b/hledger-install/hledger-install.sh index 195607692..aec68cfcd 100755 --- a/hledger-install/hledger-install.sh +++ b/hledger-install/hledger-install.sh @@ -1,10 +1,12 @@ -#!/bin/bash -e +#!/bin/bash # Easy hledger installation script for POSIX systems. # Uses cabal if installed and stack is not, # or stack, which it will install if needed (or if --force-install-stack is used). # Requires bash and some other POSIX tools. # This is based on get-stack.sh which is copyright (c) 2015-2017, Stack contributors. +set -e + usage() { cat <