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.
This commit is contained in:
nimbleghost 2023-05-26 21:14:59 +02:00
parent 3101f93d22
commit 232c889ce3

View File

@ -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