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;