don't set gitlab user in postinst
This commit is contained in:
parent
46b101a574
commit
7fa2ea01ff
1 changed files with 1 additions and 5 deletions
6
debian/postinst
vendored
6
debian/postinst
vendored
|
@ -65,11 +65,7 @@ cp ${gitlab_debian_defaults} ${gitlab_debian_defaults_copy}
|
||||||
|
|
||||||
# Read gitlab_user from debconf db
|
# Read gitlab_user from debconf db
|
||||||
db_get gitlab/user
|
db_get gitlab/user
|
||||||
gitlab_user=${RET:-gitlab} >/dev/null
|
gitlab_user=$RET >/dev/null
|
||||||
|
|
||||||
if ! grep gitlab_user ${gitlab_debian_conf_private}; then
|
|
||||||
echo "gitlab_user=${gitlab_user}" >> ${gitlab_debian_conf_private}
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Create gitlab user
|
# Create gitlab user
|
||||||
. /usr/lib/gitlab/scripts/adduser.sh
|
. /usr/lib/gitlab/scripts/adduser.sh
|
||||||
|
|
Loading…
Reference in a new issue