gitea-init/gitea-init.sh
2024-08-22 21:03:07 +05:00

11 lines
188 B
Bash

#!/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"