diff options
author | Unknwon <u@gogs.io> | 2015-07-25 00:49:40 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-07-25 00:49:40 +0800 |
commit | 54b58e988d4fac4a3f67feef39d62134352fb07c (patch) | |
tree | db32c6c6860f6b6bacb0c90c32a25b5a3b7c8002 /packager | |
parent | dc4aab9925b46f8ad4b18f7926e2904163c1c5b5 (diff) | |
parent | 70d44e9565e372c73d4f0f42273d4899e8e07f75 (diff) | |
download | gitea-54b58e988d4fac4a3f67feef39d62134352fb07c.tar.gz gitea-54b58e988d4fac4a3f67feef39d62134352fb07c.zip |
Merge branch 'develop' of github.com:gogits/gogs into feature/page_issues
Diffstat (limited to 'packager')
-rwxr-xr-x | packager/debian/postinst | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/packager/debian/postinst b/packager/debian/postinst index c0b06b0233..964e8148f8 100755 --- a/packager/debian/postinst +++ b/packager/debian/postinst @@ -18,8 +18,6 @@ case "$1" in chown ${APP_USER}.${APP_GROUP} $(dirname ${APP_CONFIG}) [ -f ${APP_CONFIG} ] || ${CLI} run cp conf/app.ini ${APP_CONFIG} ${CLI} config:set USER=${APP_USER} - PORT=$(${CLI} config:get PORT || echo "6000") - sed -i "s|HTTP_PORT = 3000|HTTP_PORT = ${PORT}|" ${APP_CONFIG} sed -i "s|RUN_USER = git|RUN_USER = ${APP_USER}|" ${APP_CONFIG} sed -i "s|RUN_MODE = dev|RUN_MODE = prod|" ${APP_CONFIG} |