2
0
Fork 0
mirror of https://github.com/friendica/docker synced 2026-01-04 14:53:35 +01:00

Fix update behavior

This commit is contained in:
Philipp Holzer 2022-01-06 13:17:27 +01:00
commit 933e3c5604
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
8 changed files with 9 additions and 8 deletions

View file

@ -2,7 +2,7 @@
set -eu
# just check if we execute apache or php-fpm
if (expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]) && [ "${FRIENDICA_DISABLE_UPGRADE:-false}" = "false" ]; then
if (expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]) && [ "${FRIENDICA_UPGRADE:-false}" = "true" ]; then
curl -fsSL -o "/usr/src/friendica-full-${FRIENDICA_VERSION}.tar.gz.sum256" "https://files.friendi.ca/friendica-full-${FRIENDICA_VERSION}.tar.gz.sum256"
curl -fsSL -o "/usr/src/friendica-addons-${FRIENDICA_ADDONS}.tar.gz.sum256" "https://files.friendi.ca/friendica-full-${FRIENDICA_ADDONS}.tar.gz.sum256"