don't set gitlab user in postinst

This commit is contained in:
Praveen Arimbrathodiyil 2017-04-21 13:15:30 +05:30
parent 46b101a574
commit 7fa2ea01ff

6
debian/postinst vendored
View file

@ -65,11 +65,7 @@ cp ${gitlab_debian_defaults} ${gitlab_debian_defaults_copy}
# Read gitlab_user from debconf db
db_get gitlab/user
gitlab_user=${RET:-gitlab} >/dev/null
if ! grep gitlab_user ${gitlab_debian_conf_private}; then
echo "gitlab_user=${gitlab_user}" >> ${gitlab_debian_conf_private}
fi
gitlab_user=$RET >/dev/null
# Create gitlab user
. /usr/lib/gitlab/scripts/adduser.sh