From 616a762d568155523cca8506cfc5774bd323c69d Mon Sep 17 00:00:00 2001 From: nupplaPhil Date: Thu, 28 Nov 2019 20:55:37 +0100 Subject: [PATCH] fix indent --- 2019.09/apache/entrypoint.sh | 24 ++++++++++++------------ 2019.09/fpm-alpine/entrypoint.sh | 24 ++++++++++++------------ 2019.09/fpm/entrypoint.sh | 24 ++++++++++++------------ 2019.12-dev/apache/entrypoint.sh | 24 ++++++++++++------------ 2019.12-dev/fpm-alpine/entrypoint.sh | 24 ++++++++++++------------ 2019.12-dev/fpm/entrypoint.sh | 24 ++++++++++++------------ docker-entrypoint.sh | 24 ++++++++++++------------ 7 files changed, 84 insertions(+), 84 deletions(-) diff --git a/2019.09/apache/entrypoint.sh b/2019.09/apache/entrypoint.sh index 731ddeb..78da592 100755 --- a/2019.09/apache/entrypoint.sh +++ b/2019.09/apache/entrypoint.sh @@ -123,22 +123,22 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then if [ "$install" = true ]; then echo "Waiting for MySQL $MYSQL_HOST initialization..." - if /usr/local/bin/wait-for-connection "$MYSQL_HOST" "$MYSQL_PORT" 300; then + if /usr/local/bin/wait-for-connection "$MYSQL_HOST" "$MYSQL_PORT" 300; then - echo "Starting Friendica installation ..." - run_as "php /var/www/html/bin/console.php autoinstall $install_options" + echo "Starting Friendica installation ..." + run_as "php /var/www/html/bin/console.php autoinstall $install_options" - rm -fr /var/www/html/view/smarty3/compiled + rm -fr /var/www/html/view/smarty3/compiled - # load other config files (*.config.php) to the config folder - if [ -d "/usr/src/config" ]; then - rsync $rsync_options --ignore-existing /usr/src/config/ /var/www/html/config/ - fi + # load other config files (*.config.php) to the config folder + if [ -d "/usr/src/config" ]; then + rsync $rsync_options --ignore-existing /usr/src/config/ /var/www/html/config/ + fi - echo "Installation finished" - else - echo "[ERROR] Waited 300 seconds, no response" >&2 - fi + echo "Installation finished" + else + echo "[ERROR] Waited 300 seconds, no response" >&2 + fi else echo "Running web-based installer on first connect!" fi diff --git a/2019.09/fpm-alpine/entrypoint.sh b/2019.09/fpm-alpine/entrypoint.sh index 731ddeb..78da592 100755 --- a/2019.09/fpm-alpine/entrypoint.sh +++ b/2019.09/fpm-alpine/entrypoint.sh @@ -123,22 +123,22 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then if [ "$install" = true ]; then echo "Waiting for MySQL $MYSQL_HOST initialization..." - if /usr/local/bin/wait-for-connection "$MYSQL_HOST" "$MYSQL_PORT" 300; then + if /usr/local/bin/wait-for-connection "$MYSQL_HOST" "$MYSQL_PORT" 300; then - echo "Starting Friendica installation ..." - run_as "php /var/www/html/bin/console.php autoinstall $install_options" + echo "Starting Friendica installation ..." + run_as "php /var/www/html/bin/console.php autoinstall $install_options" - rm -fr /var/www/html/view/smarty3/compiled + rm -fr /var/www/html/view/smarty3/compiled - # load other config files (*.config.php) to the config folder - if [ -d "/usr/src/config" ]; then - rsync $rsync_options --ignore-existing /usr/src/config/ /var/www/html/config/ - fi + # load other config files (*.config.php) to the config folder + if [ -d "/usr/src/config" ]; then + rsync $rsync_options --ignore-existing /usr/src/config/ /var/www/html/config/ + fi - echo "Installation finished" - else - echo "[ERROR] Waited 300 seconds, no response" >&2 - fi + echo "Installation finished" + else + echo "[ERROR] Waited 300 seconds, no response" >&2 + fi else echo "Running web-based installer on first connect!" fi diff --git a/2019.09/fpm/entrypoint.sh b/2019.09/fpm/entrypoint.sh index 731ddeb..78da592 100755 --- a/2019.09/fpm/entrypoint.sh +++ b/2019.09/fpm/entrypoint.sh @@ -123,22 +123,22 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then if [ "$install" = true ]; then echo "Waiting for MySQL $MYSQL_HOST initialization..." - if /usr/local/bin/wait-for-connection "$MYSQL_HOST" "$MYSQL_PORT" 300; then + if /usr/local/bin/wait-for-connection "$MYSQL_HOST" "$MYSQL_PORT" 300; then - echo "Starting Friendica installation ..." - run_as "php /var/www/html/bin/console.php autoinstall $install_options" + echo "Starting Friendica installation ..." + run_as "php /var/www/html/bin/console.php autoinstall $install_options" - rm -fr /var/www/html/view/smarty3/compiled + rm -fr /var/www/html/view/smarty3/compiled - # load other config files (*.config.php) to the config folder - if [ -d "/usr/src/config" ]; then - rsync $rsync_options --ignore-existing /usr/src/config/ /var/www/html/config/ - fi + # load other config files (*.config.php) to the config folder + if [ -d "/usr/src/config" ]; then + rsync $rsync_options --ignore-existing /usr/src/config/ /var/www/html/config/ + fi - echo "Installation finished" - else - echo "[ERROR] Waited 300 seconds, no response" >&2 - fi + echo "Installation finished" + else + echo "[ERROR] Waited 300 seconds, no response" >&2 + fi else echo "Running web-based installer on first connect!" fi diff --git a/2019.12-dev/apache/entrypoint.sh b/2019.12-dev/apache/entrypoint.sh index 731ddeb..78da592 100755 --- a/2019.12-dev/apache/entrypoint.sh +++ b/2019.12-dev/apache/entrypoint.sh @@ -123,22 +123,22 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then if [ "$install" = true ]; then echo "Waiting for MySQL $MYSQL_HOST initialization..." - if /usr/local/bin/wait-for-connection "$MYSQL_HOST" "$MYSQL_PORT" 300; then + if /usr/local/bin/wait-for-connection "$MYSQL_HOST" "$MYSQL_PORT" 300; then - echo "Starting Friendica installation ..." - run_as "php /var/www/html/bin/console.php autoinstall $install_options" + echo "Starting Friendica installation ..." + run_as "php /var/www/html/bin/console.php autoinstall $install_options" - rm -fr /var/www/html/view/smarty3/compiled + rm -fr /var/www/html/view/smarty3/compiled - # load other config files (*.config.php) to the config folder - if [ -d "/usr/src/config" ]; then - rsync $rsync_options --ignore-existing /usr/src/config/ /var/www/html/config/ - fi + # load other config files (*.config.php) to the config folder + if [ -d "/usr/src/config" ]; then + rsync $rsync_options --ignore-existing /usr/src/config/ /var/www/html/config/ + fi - echo "Installation finished" - else - echo "[ERROR] Waited 300 seconds, no response" >&2 - fi + echo "Installation finished" + else + echo "[ERROR] Waited 300 seconds, no response" >&2 + fi else echo "Running web-based installer on first connect!" fi diff --git a/2019.12-dev/fpm-alpine/entrypoint.sh b/2019.12-dev/fpm-alpine/entrypoint.sh index 731ddeb..78da592 100755 --- a/2019.12-dev/fpm-alpine/entrypoint.sh +++ b/2019.12-dev/fpm-alpine/entrypoint.sh @@ -123,22 +123,22 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then if [ "$install" = true ]; then echo "Waiting for MySQL $MYSQL_HOST initialization..." - if /usr/local/bin/wait-for-connection "$MYSQL_HOST" "$MYSQL_PORT" 300; then + if /usr/local/bin/wait-for-connection "$MYSQL_HOST" "$MYSQL_PORT" 300; then - echo "Starting Friendica installation ..." - run_as "php /var/www/html/bin/console.php autoinstall $install_options" + echo "Starting Friendica installation ..." + run_as "php /var/www/html/bin/console.php autoinstall $install_options" - rm -fr /var/www/html/view/smarty3/compiled + rm -fr /var/www/html/view/smarty3/compiled - # load other config files (*.config.php) to the config folder - if [ -d "/usr/src/config" ]; then - rsync $rsync_options --ignore-existing /usr/src/config/ /var/www/html/config/ - fi + # load other config files (*.config.php) to the config folder + if [ -d "/usr/src/config" ]; then + rsync $rsync_options --ignore-existing /usr/src/config/ /var/www/html/config/ + fi - echo "Installation finished" - else - echo "[ERROR] Waited 300 seconds, no response" >&2 - fi + echo "Installation finished" + else + echo "[ERROR] Waited 300 seconds, no response" >&2 + fi else echo "Running web-based installer on first connect!" fi diff --git a/2019.12-dev/fpm/entrypoint.sh b/2019.12-dev/fpm/entrypoint.sh index 731ddeb..78da592 100755 --- a/2019.12-dev/fpm/entrypoint.sh +++ b/2019.12-dev/fpm/entrypoint.sh @@ -123,22 +123,22 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then if [ "$install" = true ]; then echo "Waiting for MySQL $MYSQL_HOST initialization..." - if /usr/local/bin/wait-for-connection "$MYSQL_HOST" "$MYSQL_PORT" 300; then + if /usr/local/bin/wait-for-connection "$MYSQL_HOST" "$MYSQL_PORT" 300; then - echo "Starting Friendica installation ..." - run_as "php /var/www/html/bin/console.php autoinstall $install_options" + echo "Starting Friendica installation ..." + run_as "php /var/www/html/bin/console.php autoinstall $install_options" - rm -fr /var/www/html/view/smarty3/compiled + rm -fr /var/www/html/view/smarty3/compiled - # load other config files (*.config.php) to the config folder - if [ -d "/usr/src/config" ]; then - rsync $rsync_options --ignore-existing /usr/src/config/ /var/www/html/config/ - fi + # load other config files (*.config.php) to the config folder + if [ -d "/usr/src/config" ]; then + rsync $rsync_options --ignore-existing /usr/src/config/ /var/www/html/config/ + fi - echo "Installation finished" - else - echo "[ERROR] Waited 300 seconds, no response" >&2 - fi + echo "Installation finished" + else + echo "[ERROR] Waited 300 seconds, no response" >&2 + fi else echo "Running web-based installer on first connect!" fi diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 731ddeb..78da592 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -123,22 +123,22 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]; then if [ "$install" = true ]; then echo "Waiting for MySQL $MYSQL_HOST initialization..." - if /usr/local/bin/wait-for-connection "$MYSQL_HOST" "$MYSQL_PORT" 300; then + if /usr/local/bin/wait-for-connection "$MYSQL_HOST" "$MYSQL_PORT" 300; then - echo "Starting Friendica installation ..." - run_as "php /var/www/html/bin/console.php autoinstall $install_options" + echo "Starting Friendica installation ..." + run_as "php /var/www/html/bin/console.php autoinstall $install_options" - rm -fr /var/www/html/view/smarty3/compiled + rm -fr /var/www/html/view/smarty3/compiled - # load other config files (*.config.php) to the config folder - if [ -d "/usr/src/config" ]; then - rsync $rsync_options --ignore-existing /usr/src/config/ /var/www/html/config/ - fi + # load other config files (*.config.php) to the config folder + if [ -d "/usr/src/config" ]; then + rsync $rsync_options --ignore-existing /usr/src/config/ /var/www/html/config/ + fi - echo "Installation finished" - else - echo "[ERROR] Waited 300 seconds, no response" >&2 - fi + echo "Installation finished" + else + echo "[ERROR] Waited 300 seconds, no response" >&2 + fi else echo "Running web-based installer on first connect!" fi