From 7f45cef18e3a1fb2217272c3fd860957226e2398 Mon Sep 17 00:00:00 2001 From: Anton Afanasyeu Date: Tue, 26 May 2026 16:52:24 +0300 Subject: [PATCH] snap 3 --- deploy_alpine.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deploy_alpine.sh b/deploy_alpine.sh index 2c951b2..c0f3edc 100755 --- a/deploy_alpine.sh +++ b/deploy_alpine.sh @@ -14,6 +14,7 @@ echo "working branch: ${BRANCH}" git checkout ${BRANCH} || exit $? git status || exit $? git pull --rebase || exit $? -[ -f ./examples/crash_reporter/backend/config/config.php.alpine ] && \ - cp -f ./examples/crash_reporter/backend/config/config.php.alpine cp -f ./examples/crash_reporter/backend/config/config.php ||: +if [ -f ./examples/crash_reporter/backend/config/config.php.alpine ]; then + cp -f ./examples/crash_reporter/backend/config/config.php.alpine ./examples/crash_reporter/backend/config/config.php ||: +fi sudo -E /etc/init.d/mariadb restart; sudo -E /etc/init.d/php-fpm81 restart; sudo -E /etc/init.d/nginx restart; sudo -E /etc/init.d/gitea restart;