summaryrefslogtreecommitdiff
path: root/rel
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-06-19 14:59:12 +0300
committerrinpatch <rinpatch@sdf.org>2019-06-19 14:59:18 +0300
commit2571e07fbae39728c6edacaab484e44975200b33 (patch)
tree7d40fa2e13f67e808d56aa46ffadfaa3b3be0e1c /rel
parent66f2cdcdb07b358c53e4c8d4f01bfe80da5883a7 (diff)
pleroma_ctl: Rename arch to flavour because it also includes the libc
Diffstat (limited to 'rel')
-rwxr-xr-xrel/files/bin/pleroma_ctl6
1 files changed, 3 insertions, 3 deletions
diff --git a/rel/files/bin/pleroma_ctl b/rel/files/bin/pleroma_ctl
index 671fd3860..03b7e57bb 100755
--- a/rel/files/bin/pleroma_ctl
+++ b/rel/files/bin/pleroma_ctl
@@ -46,7 +46,7 @@ update() {
uri="${PLEROMA_CTL_URI:-https://git.pleroma.social}"
project_id="${PLEROMA_CTL_PROJECT_ID:-2}"
project_branch="$(detect_branch)"
- flavour="${PLEROMA_CTL_ARCH:-$(detect_flavour)}"
+ flavour="${PLEROMA_CTL_FLAVOUR:-$(detect_flavour)}"
echo "Detected flavour: $flavour"
tmp="${PLEROMA_CTL_TMP_DIR:-/tmp}"
artifact="$tmp/pleroma.zip"
@@ -90,8 +90,8 @@ if [ -z "$1" ] || [ "$1" = "help" ]; then
some files are stored inside of the release directories (although you really shouldn't store them
there), or if you want to be able to quickly revert a broken update.
- The script will try to detect your architecture and ABI automatically, but if it is wrong, you can
- overwrite it by setting PLEROMA_CTL_ARCH to the desired architecture.
+ The script will try to detect your architecture and ABI and set a flavour automatically,
+ but if it is wrong, you can overwrite it by setting PLEROMA_CTL_FLAVOUR to the desired flavour.
By default the artifact will be downloaded from https://git.pleroma.social for pleroma/pleroma (project id: 2)
to /tmp/, you can overwrite these settings by setting PLEROMA_CTL_URI, PLEROMA_CTL_PROJECT_ID and PLEROMA_CTL_TMP_DIR