Merge pull request #4025 from balena-io/aethernet-apt-update

patch: add apt-get update in flowzone preinstall
This commit is contained in:
Edwin Joassart 2023-03-09 12:29:40 +01:00 committed by GitHub
commit bc4ee48c1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@
}, },
"scripts": { "scripts": {
"build": "npm run webpack", "build": "npm run webpack",
"flowzone-preinstall-linux": "sudo apt-get install -y xvfb libudev-dev && cat < electron-builder.yml | yq e .deb.depends[] - | xargs -L1 echo | sed 's/|//g' | xargs -L1 sudo apt-get --ignore-missing install || true", "flowzone-preinstall-linux": "sudo apt-get update && sudo apt-get install -y xvfb libudev-dev && cat < electron-builder.yml | yq e .deb.depends[] - | xargs -L1 echo | sed 's/|//g' | xargs -L1 sudo apt-get --ignore-missing install || true",
"flowzone-preinstall-macos": "true", "flowzone-preinstall-macos": "true",
"flowzone-preinstall-windows": "npx node-gyp install", "flowzone-preinstall-windows": "npx node-gyp install",
"flowzone-preinstall": "npm run flowzone-preinstall-linux", "flowzone-preinstall": "npm run flowzone-preinstall-linux",