mirror of
https://git.cloudron.io/cloudron/gitea-app.git
synced 2024-11-25 01:21:00 +00:00
Remove fallback for old code
This commit is contained in:
parent
4c56c25800
commit
edd5411edc
1 changed files with 1 additions and 6 deletions
5
start.sh
5
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
|
||||
|
||||
chown -R cloudron.cloudron /app/data /run/gogs
|
||||
|
||||
|
|
Loading…
Reference in a new issue