mc: allow for a non-unique group ID when setting GID

For #254
This commit is contained in:
Geoff Bourne 2018-09-30 15:20:54 -05:00
parent 79756d13fd
commit b88ae49c3b

View file

@ -8,7 +8,7 @@ if [ $(id -u) = 0 ]; then
usermod -u $UID minecraft
fi
if [[ -v GID ]]; then
groupmod -g $GID minecraft
groupmod -o -g $GID minecraft
fi
if [[ $(stat -c "%u" /data) != $UID ]]; then