Update install.sh

This commit is contained in:
dinger1986
2023-08-17 22:40:31 +01:00
committed by GitHub
parent 3f9028ce1e
commit f229e9d610

View File

@@ -17,11 +17,9 @@ sudo npm install -g npm
sudo mkdir -p /opt/meshcentral/meshcentral-data sudo mkdir -p /opt/meshcentral/meshcentral-data
sudo chown ${USER}:${USER} -R /opt/meshcentral sudo chown ${USER}:${USER} -R /opt/meshcentral
cd /opt/meshcentral cd /opt/meshcentral
npm install meshcentral@1.1.6 npm install --save --save-exact meshcentral@1.1.9
sudo chown ${USER}:${USER} -R /opt/meshcentral sudo chown ${USER}:${USER} -R /opt/meshcentral
sed -i 's|"^1.1.6"": |"1.1.6"": |g' /opt/meshcentral/package.json
meshservice="$(cat << EOF meshservice="$(cat << EOF
[Unit] [Unit]
Description=MeshCentral Server Description=MeshCentral Server