Fix for Ubuntu 16.04.01

This commit is contained in:
zetafunc 2016-11-25 22:58:50 +11:00 committed by GitHub
parent b50050358c
commit 350abbb97f
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ fi
#
echo 'Create user/group and directories we need...'; echo
sudo addgroup --quiet --system ${NVR_GROUP}
sudo adduser --quiet --system ${NVR_USER} --group "${NVR_GROUP}" --home "${NVR_HOME}"
sudo adduser --quiet --system ${NVR_USER} --ingroup "${NVR_GROUP}" --home "${NVR_HOME}"
if [ ! -d "${NVR_HOME}" ]; then
sudo mkdir "${NVR_HOME}"
fi