From 8b63a17b87ea6b0568986ea7cc513a4ef54c0115 Mon Sep 17 00:00:00 2001 From: ilja Date: Mon, 31 Jul 2023 15:56:39 +0200 Subject: [PATCH] In chat we often saw that people copy-pasted the "amd64" flavour while they needed another one. Here we make it a generic placeholder which should make accidental copy-pasting of this command happen less. We also had one case of someone who got errors because the SHELL variable wasn't set. This is the case for Alpine. Here I added a line to fill it in when not set. --- docs/docs/installation/otp_en.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/docs/installation/otp_en.md b/docs/docs/installation/otp_en.md index 058040e19..9b28854f5 100644 --- a/docs/docs/installation/otp_en.md +++ b/docs/docs/installation/otp_en.md @@ -118,8 +118,12 @@ Restart PostgreSQL to apply configuration changes: adduser --system --shell /bin/false --home /opt/akkoma akkoma # Set the flavour environment variable to the string you got in Detecting flavour section. -# For example if the flavour is `amd64` the command will be -export FLAVOUR="amd64" +# For example if the flavour is `amd64-musl` the command will be +# export FLAVOUR="amd64-musl" +export FLAVOUR="" + +# Make sure the SHELL variable is set +export SHELL="${SHELL:-/bin/sh}" # Clone the release build into a temporary directory and unpack it su akkoma -s $SHELL -lc "