aports/testing/gogs/gogs.pre-install
Przemyslaw Pawelczyk a593d306c9 Add -g option (GECOS/comment) to adduser in scripts.
This way we can avoid ugly default:

    Linux user,,,
2016-04-25 06:54:18 +00:00

5 lines
122 B
Bash

#!/bin/sh
adduser -S -h /var/lib/gogs -s /bin/ash -G www-data -D -g gogs gogs 2>/dev/null || true
passwd -u gogs || true