summaryrefslogtreecommitdiffstats
path: root/docker/s6/gogs/setup
diff options
context:
space:
mode:
Diffstat (limited to 'docker/s6/gogs/setup')
-rwxr-xr-xdocker/s6/gogs/setup6
1 files changed, 1 insertions, 5 deletions
diff --git a/docker/s6/gogs/setup b/docker/s6/gogs/setup
index 6270d551a6..8c09ff74c6 100755
--- a/docker/s6/gogs/setup
+++ b/docker/s6/gogs/setup
@@ -1,11 +1,7 @@
#!/bin/sh
-if ! test -d /data/gogs; then
- mkdir -p /data/gogs/data /data/gogs/conf /data/gogs/log /data/git
-fi
-
if ! test -d ~git/.ssh; then
- mkdir ~git/.ssh
+ mkdir -p ~git/.ssh
chmod 700 ~git/.ssh
fi