From 0d9ac710880e6b9413b09e4c35a505034d1e9d51 Mon Sep 17 00:00:00 2001 From: Edwin Joassart Date: Thu, 9 Mar 2023 10:51:34 +0100 Subject: [PATCH] patch: add apt-get update in flowzone preinstall libudev package has changed and cannot be installed if we not update apt cache --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7c42b90347..86cc527a35 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ }, "scripts": { "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-windows": "npx node-gyp install", "flowzone-preinstall": "npm run flowzone-preinstall-linux",