aboutsummaryrefslogtreecommitdiff
path: root/src/hugo/install.sh
diff options
context:
space:
mode:
authorJosh Spicer <joshspicer@github.com>2022-05-26 05:04:49 +0300
committerGitHub <noreply@github.com>2022-05-26 05:04:49 +0300
commit7f182aaea2b40adb43f00227185d93f913199c42 (patch)
tree20b6c8aca8eb4f389918114d9a8406a9140bc47a /src/hugo/install.sh
parenteb6ed37debc6b0639eeb08a37ddde031e6d54fa8 (diff)
updates to conda,gradle,hugo (#24)
Diffstat (limited to 'src/hugo/install.sh')
-rw-r--r--src/hugo/install.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hugo/install.sh b/src/hugo/install.sh
index 3913c7a..de1d03c 100644
--- a/src/hugo/install.sh
+++ b/src/hugo/install.sh
@@ -10,10 +10,11 @@
# Syntax: ./hugo-debian.sh [Hugo version] [HUGO_DIR] [Non-root user] [Add rc files flag]
VERSION=${1:-"latest"}
-export HUGO_DIR=${2:-"/usr/local/hugo"}
USERNAME=${3:-"automatic"}
UPDATE_RC=${4:-"true"}
+HUGO_DIR=${HUGO_DIR:-"/usr/local/hugo"}
+
set -e
if [ "$(id -u)" -ne 0 ]; then