mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-17 18:49:15 +00:00
pleroma_ctl: Rename arch to flavour because it also includes the libc
This commit is contained in:
parent
66f2cdcdb0
commit
2571e07fba
|
@ -46,7 +46,7 @@ update() {
|
||||||
uri="${PLEROMA_CTL_URI:-https://git.pleroma.social}"
|
uri="${PLEROMA_CTL_URI:-https://git.pleroma.social}"
|
||||||
project_id="${PLEROMA_CTL_PROJECT_ID:-2}"
|
project_id="${PLEROMA_CTL_PROJECT_ID:-2}"
|
||||||
project_branch="$(detect_branch)"
|
project_branch="$(detect_branch)"
|
||||||
flavour="${PLEROMA_CTL_ARCH:-$(detect_flavour)}"
|
flavour="${PLEROMA_CTL_FLAVOUR:-$(detect_flavour)}"
|
||||||
echo "Detected flavour: $flavour"
|
echo "Detected flavour: $flavour"
|
||||||
tmp="${PLEROMA_CTL_TMP_DIR:-/tmp}"
|
tmp="${PLEROMA_CTL_TMP_DIR:-/tmp}"
|
||||||
artifact="$tmp/pleroma.zip"
|
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
|
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.
|
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
|
The script will try to detect your architecture and ABI and set a flavour automatically,
|
||||||
overwrite it by setting PLEROMA_CTL_ARCH to the desired architecture.
|
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)
|
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
|
to /tmp/, you can overwrite these settings by setting PLEROMA_CTL_URI, PLEROMA_CTL_PROJECT_ID and PLEROMA_CTL_TMP_DIR
|
||||||
|
|
Loading…
Reference in a new issue