--name is deprecated in favor of --username

This commit is contained in:
Johannes Zellner 2022-01-31 13:45:10 +01:00
parent a7734d29fb
commit 8999bc9112

View file

@ -28,7 +28,7 @@ setup_ldap_source() {
setup_root_user() {
set -eu
if sudo -H -u git /home/git/gitea/gitea admin user create --name root --password changeme --email test@cloudron.io --admin -c /run/gitea/app.ini; then
if sudo -H -u git /home/git/gitea/gitea admin user create --username root --password changeme --email test@cloudron.io --admin -c /run/gitea/app.ini; then
echo "==> root user added"
else
echo "==> Failed to add root user"