Merge pull request #5 from zetafunc/patch-1

Fix for Ubuntu 16.04.01
This commit is contained in:
Scott Lamb 2016-11-25 11:45:22 -08:00 committed by GitHub
commit 7c5a90b8fb

View File

@ -184,7 +184,7 @@ fi
# #
echo 'Create user/group and directories we need...'; echo echo 'Create user/group and directories we need...'; echo
sudo addgroup --quiet --system ${NVR_GROUP} 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 if [ ! -d "${NVR_HOME}" ]; then
sudo mkdir "${NVR_HOME}" sudo mkdir "${NVR_HOME}"
fi fi