aboutsummaryrefslogtreecommitdiffstats
path: root/packager
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-07-25 00:49:40 +0800
committerUnknwon <u@gogs.io>2015-07-25 00:49:40 +0800
commit54b58e988d4fac4a3f67feef39d62134352fb07c (patch)
treedb32c6c6860f6b6bacb0c90c32a25b5a3b7c8002 /packager
parentdc4aab9925b46f8ad4b18f7926e2904163c1c5b5 (diff)
parent70d44e9565e372c73d4f0f42273d4899e8e07f75 (diff)
downloadgitea-54b58e988d4fac4a3f67feef39d62134352fb07c.tar.gz
gitea-54b58e988d4fac4a3f67feef39d62134352fb07c.zip
Merge branch 'develop' of github.com:gogits/gogs into feature/page_issues
Diffstat (limited to 'packager')
-rwxr-xr-xpackager/debian/postinst2
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}