update gitea to use new bash functions