diff --git a/develop/apache/bin/friendica b/develop/apache/bin/friendica index 8bad6ad..66233c1 100644 --- a/develop/apache/bin/friendica +++ b/develop/apache/bin/friendica @@ -48,7 +48,7 @@ friendica_help() { echo " composer Executes the composer.phar executable for Friendica" echo " install Installs Friendica" echo " update Updates Friendica" - exit 1 + return } # executes the Friendica console @@ -86,7 +86,7 @@ copy_sources() { if version_greater "$installed_version" "$image_version"; then echo "Can't copy Friendica sources because the version of the data ($installed_version) is higher than the docker image ($image_version)" - exit 1; + return; fi if version_greater "$image_version" "$installed_version"; then diff --git a/develop/fpm-alpine/bin/friendica b/develop/fpm-alpine/bin/friendica index 8bad6ad..66233c1 100644 --- a/develop/fpm-alpine/bin/friendica +++ b/develop/fpm-alpine/bin/friendica @@ -48,7 +48,7 @@ friendica_help() { echo " composer Executes the composer.phar executable for Friendica" echo " install Installs Friendica" echo " update Updates Friendica" - exit 1 + return } # executes the Friendica console @@ -86,7 +86,7 @@ copy_sources() { if version_greater "$installed_version" "$image_version"; then echo "Can't copy Friendica sources because the version of the data ($installed_version) is higher than the docker image ($image_version)" - exit 1; + return; fi if version_greater "$image_version" "$installed_version"; then diff --git a/develop/fpm/bin/friendica b/develop/fpm/bin/friendica index 8bad6ad..66233c1 100644 --- a/develop/fpm/bin/friendica +++ b/develop/fpm/bin/friendica @@ -48,7 +48,7 @@ friendica_help() { echo " composer Executes the composer.phar executable for Friendica" echo " install Installs Friendica" echo " update Updates Friendica" - exit 1 + return } # executes the Friendica console @@ -86,7 +86,7 @@ copy_sources() { if version_greater "$installed_version" "$image_version"; then echo "Can't copy Friendica sources because the version of the data ($installed_version) is higher than the docker image ($image_version)" - exit 1; + return; fi if version_greater "$image_version" "$installed_version"; then diff --git a/stable/apache/bin/friendica b/stable/apache/bin/friendica index 8bad6ad..66233c1 100644 --- a/stable/apache/bin/friendica +++ b/stable/apache/bin/friendica @@ -48,7 +48,7 @@ friendica_help() { echo " composer Executes the composer.phar executable for Friendica" echo " install Installs Friendica" echo " update Updates Friendica" - exit 1 + return } # executes the Friendica console @@ -86,7 +86,7 @@ copy_sources() { if version_greater "$installed_version" "$image_version"; then echo "Can't copy Friendica sources because the version of the data ($installed_version) is higher than the docker image ($image_version)" - exit 1; + return; fi if version_greater "$image_version" "$installed_version"; then diff --git a/stable/fpm-alpine/bin/friendica b/stable/fpm-alpine/bin/friendica index 8bad6ad..66233c1 100644 --- a/stable/fpm-alpine/bin/friendica +++ b/stable/fpm-alpine/bin/friendica @@ -48,7 +48,7 @@ friendica_help() { echo " composer Executes the composer.phar executable for Friendica" echo " install Installs Friendica" echo " update Updates Friendica" - exit 1 + return } # executes the Friendica console @@ -86,7 +86,7 @@ copy_sources() { if version_greater "$installed_version" "$image_version"; then echo "Can't copy Friendica sources because the version of the data ($installed_version) is higher than the docker image ($image_version)" - exit 1; + return; fi if version_greater "$image_version" "$installed_version"; then diff --git a/stable/fpm/bin/friendica b/stable/fpm/bin/friendica index 8bad6ad..66233c1 100644 --- a/stable/fpm/bin/friendica +++ b/stable/fpm/bin/friendica @@ -48,7 +48,7 @@ friendica_help() { echo " composer Executes the composer.phar executable for Friendica" echo " install Installs Friendica" echo " update Updates Friendica" - exit 1 + return } # executes the Friendica console @@ -86,7 +86,7 @@ copy_sources() { if version_greater "$installed_version" "$image_version"; then echo "Can't copy Friendica sources because the version of the data ($installed_version) is higher than the docker image ($image_version)" - exit 1; + return; fi if version_greater "$image_version" "$installed_version"; then