From 232c889ce31f825c72b645f63cc262d69c32ca1e Mon Sep 17 00:00:00 2001 From: nimbleghost <132819643+nimbleghost@users.noreply.github.com> Date: Fri, 26 May 2023 21:14:59 +0200 Subject: [PATCH] Use `apt-get` in makefile `apt` is for interactive shell usage, using it in a script results in a warning as the CLI interface is not stable > WARNING: apt does not have a stable CLI interface. > Use with caution in scripts. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 73988446..a5f8d9f0 100644 --- a/Makefile +++ b/Makefile @@ -85,13 +85,13 @@ update: web-deps-update cli-deps-update docs-deps-update # Ubuntu-specific build-deps-ubuntu: - sudo apt update - sudo apt install -y \ + sudo apt-get update + sudo apt-get install -y \ curl \ gcc-aarch64-linux-gnu \ gcc-arm-linux-gnueabi \ jq - which pip3 || sudo apt install -y python3-pip + which pip3 || sudo apt-get install -y python3-pip # Documentation