#!/bin/bash trap 'echo -e "\033[31mgitea-init.sh: Something went wrong\033[0m"; exit 1' ERR set -e bash gitea-admin.sh bash create-all.sh bash push-all.sh trap - ERR echo "Gitea inited"