Remove fallback for old code

This commit is contained in:
Girish Ramakrishnan 2015-11-25 09:12:59 -08:00
parent 4c56c25800
commit edd5411edc

View file

@ -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