aboutsummaryrefslogtreecommitdiff
path: root/src/hugo/install.sh
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-06-15 00:46:21 +0300
committerGitHub <noreply@github.com>2022-06-15 00:46:21 +0300
commitdd7e7d65b65f2f1706d18402136bcbaecbf8c897 (patch)
tree1e7575e7bd9a09cb265b10fb0343705d48a17314 /src/hugo/install.sh
parent423b6d55420fe66e6e0bc4c2b5df254f7881d881 (diff)
add username:user_groupv0.0.1
Diffstat (limited to 'src/hugo/install.sh')
-rw-r--r--src/hugo/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hugo/install.sh b/src/hugo/install.sh
index 11b2d6c..f7ab7a2 100644
--- a/src/hugo/install.sh
+++ b/src/hugo/install.sh
@@ -114,7 +114,7 @@ if ! hugo version &> /dev/null ; then
updaterc "export HUGO_DIR=${installation_dir}"
- chown -R :hugo "${HUGO_DIR}"
+ chown -R "${USERNAME}:hugo" "${HUGO_DIR}"
chmod -R g+r+w "${HUGO_DIR}"
find "${HUGO_DIR}" -type d | xargs -n 1 chmod g+s
fi