forked from cloudron-apps/gitea-app
Remove fallback for old code
This commit is contained in:
parent
4c56c25800
commit
edd5411edc
1 changed files with 1 additions and 6 deletions
7
start.sh
7
start.sh
|
@ -38,12 +38,7 @@ sed -e "s/##DOMAIN/${APP_DOMAIN}/g" \
|
|||
-e "s/##SECRET_KEY/$(pwgen -1 -s)/g" \
|
||||
/home/cloudron/app.ini.template > "/run/gogs/app.ini"
|
||||
|
||||
if [[ ! -d /app/data/repository ]]; then
|
||||
mkdir -p /app/data/repository /app/data/ssh
|
||||
mv /app/data/* /app/data/repository
|
||||
else
|
||||
mkdir -p /app/data/repository /app/data/ssh
|
||||
fi
|
||||
mkdir -p /app/data/repository /app/data/ssh
|
||||
|
||||
chown -R cloudron.cloudron /app/data /run/gogs
|
||||
|
||||
|
|
Loading…
Reference in a new issue