Change ownership only of installer/

This commit is contained in:
Girish Ramakrishnan
2015-08-26 16:01:45 -07:00
parent c8b2b34138
commit 5a67be2292
+1 -3
View File
@@ -167,9 +167,7 @@ apt-get install -y nodejs
echo "=== Rebuilding npm packages ==="
cd "${INSTALLER_SOURCE_DIR}" && npm install --production
echo "==== Make the user own his home ===="
chown "${USER}:${USER}" -R "/home/${USER}"
chown "${USER}:${USER}" -R "${INSTALLER_SOURCE_DIR}"
echo "==== Install installer systemd script ===="
cat > /etc/systemd/system/cloudron-installer.service <<EOF