mirror of
https://github.com/friendica/docker
synced 2025-01-01 10:35:21 +01:00
Fix missing /usr/src/friendica/VERSION error
This commit is contained in:
parent
b351025348
commit
84dceee28d
10 changed files with 60 additions and 10 deletions
|
@ -74,7 +74,12 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then
|
|||
installed_version="$(cat /var/www/html/VERSION)"
|
||||
fi
|
||||
|
||||
image_version="$(cat /usr/src/friendica/VERSION)"
|
||||
image_version="0.0.0.0"
|
||||
if [ -f /usr/src/friendica/VERSION ]; then
|
||||
image_version="$(cat /usr/src/friendica/VERSION)"
|
||||
else
|
||||
echo "No new Friendica sources found (enable FRIENDICA_UPGRADE for new sources)"
|
||||
fi
|
||||
|
||||
# no downgrading possible
|
||||
if version_greater "$installed_version" "$image_version"; then
|
||||
|
|
|
@ -74,7 +74,12 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then
|
|||
installed_version="$(cat /var/www/html/VERSION)"
|
||||
fi
|
||||
|
||||
image_version="$(cat /usr/src/friendica/VERSION)"
|
||||
image_version="0.0.0.0"
|
||||
if [ -f /usr/src/friendica/VERSION ]; then
|
||||
image_version="$(cat /usr/src/friendica/VERSION)"
|
||||
else
|
||||
echo "No new Friendica sources found (enable FRIENDICA_UPGRADE for new sources)"
|
||||
fi
|
||||
|
||||
# no downgrading possible
|
||||
if version_greater "$installed_version" "$image_version"; then
|
||||
|
|
|
@ -74,7 +74,12 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then
|
|||
installed_version="$(cat /var/www/html/VERSION)"
|
||||
fi
|
||||
|
||||
image_version="$(cat /usr/src/friendica/VERSION)"
|
||||
image_version="0.0.0.0"
|
||||
if [ -f /usr/src/friendica/VERSION ]; then
|
||||
image_version="$(cat /usr/src/friendica/VERSION)"
|
||||
else
|
||||
echo "No new Friendica sources found (enable FRIENDICA_UPGRADE for new sources)"
|
||||
fi
|
||||
|
||||
# no downgrading possible
|
||||
if version_greater "$installed_version" "$image_version"; then
|
||||
|
|
|
@ -74,7 +74,12 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then
|
|||
installed_version="$(cat /var/www/html/VERSION)"
|
||||
fi
|
||||
|
||||
image_version="$(cat /usr/src/friendica/VERSION)"
|
||||
image_version="0.0.0.0"
|
||||
if [ -f /usr/src/friendica/VERSION ]; then
|
||||
image_version="$(cat /usr/src/friendica/VERSION)"
|
||||
else
|
||||
echo "No new Friendica sources found (enable FRIENDICA_UPGRADE for new sources)"
|
||||
fi
|
||||
|
||||
# no downgrading possible
|
||||
if version_greater "$installed_version" "$image_version"; then
|
||||
|
|
|
@ -74,7 +74,12 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then
|
|||
installed_version="$(cat /var/www/html/VERSION)"
|
||||
fi
|
||||
|
||||
image_version="$(cat /usr/src/friendica/VERSION)"
|
||||
image_version="0.0.0.0"
|
||||
if [ -f /usr/src/friendica/VERSION ]; then
|
||||
image_version="$(cat /usr/src/friendica/VERSION)"
|
||||
else
|
||||
echo "No new Friendica sources found (enable FRIENDICA_UPGRADE for new sources)"
|
||||
fi
|
||||
|
||||
# no downgrading possible
|
||||
if version_greater "$installed_version" "$image_version"; then
|
||||
|
|
|
@ -74,7 +74,12 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then
|
|||
installed_version="$(cat /var/www/html/VERSION)"
|
||||
fi
|
||||
|
||||
image_version="$(cat /usr/src/friendica/VERSION)"
|
||||
image_version="0.0.0.0"
|
||||
if [ -f /usr/src/friendica/VERSION ]; then
|
||||
image_version="$(cat /usr/src/friendica/VERSION)"
|
||||
else
|
||||
echo "No new Friendica sources found (enable FRIENDICA_UPGRADE for new sources)"
|
||||
fi
|
||||
|
||||
# no downgrading possible
|
||||
if version_greater "$installed_version" "$image_version"; then
|
||||
|
|
|
@ -74,7 +74,12 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then
|
|||
installed_version="$(cat /var/www/html/VERSION)"
|
||||
fi
|
||||
|
||||
image_version="$(cat /usr/src/friendica/VERSION)"
|
||||
image_version="0.0.0.0"
|
||||
if [ -f /usr/src/friendica/VERSION ]; then
|
||||
image_version="$(cat /usr/src/friendica/VERSION)"
|
||||
else
|
||||
echo "No new Friendica sources found (enable FRIENDICA_UPGRADE for new sources)"
|
||||
fi
|
||||
|
||||
# no downgrading possible
|
||||
if version_greater "$installed_version" "$image_version"; then
|
||||
|
|
|
@ -74,7 +74,12 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then
|
|||
installed_version="$(cat /var/www/html/VERSION)"
|
||||
fi
|
||||
|
||||
image_version="$(cat /usr/src/friendica/VERSION)"
|
||||
image_version="0.0.0.0"
|
||||
if [ -f /usr/src/friendica/VERSION ]; then
|
||||
image_version="$(cat /usr/src/friendica/VERSION)"
|
||||
else
|
||||
echo "No new Friendica sources found (enable FRIENDICA_UPGRADE for new sources)"
|
||||
fi
|
||||
|
||||
# no downgrading possible
|
||||
if version_greater "$installed_version" "$image_version"; then
|
||||
|
|
|
@ -74,7 +74,12 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then
|
|||
installed_version="$(cat /var/www/html/VERSION)"
|
||||
fi
|
||||
|
||||
image_version="$(cat /usr/src/friendica/VERSION)"
|
||||
image_version="0.0.0.0"
|
||||
if [ -f /usr/src/friendica/VERSION ]; then
|
||||
image_version="$(cat /usr/src/friendica/VERSION)"
|
||||
else
|
||||
echo "No new Friendica sources found (enable FRIENDICA_UPGRADE for new sources)"
|
||||
fi
|
||||
|
||||
# no downgrading possible
|
||||
if version_greater "$installed_version" "$image_version"; then
|
||||
|
|
|
@ -74,7 +74,12 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then
|
|||
installed_version="$(cat /var/www/html/VERSION)"
|
||||
fi
|
||||
|
||||
image_version="$(cat /usr/src/friendica/VERSION)"
|
||||
image_version="0.0.0.0"
|
||||
if [ -f /usr/src/friendica/VERSION ]; then
|
||||
image_version="$(cat /usr/src/friendica/VERSION)"
|
||||
else
|
||||
echo "No new Friendica sources found (enable FRIENDICA_UPGRADE for new sources)"
|
||||
fi
|
||||
|
||||
# no downgrading possible
|
||||
if version_greater "$installed_version" "$image_version"; then
|
||||
|
|
Loading…
Reference in a new issue