From: rinpatch Date: Wed, 19 Jun 2019 11:59:12 +0000 (+0300) Subject: pleroma_ctl: Rename arch to flavour because it also includes the libc X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=2571e07fbae39728c6edacaab484e44975200b33;p=akkoma pleroma_ctl: Rename arch to flavour because it also includes the libc --- 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