Просмотр исходного кода

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.
nimbleghost 2 лет назад
Родитель
Сommit
232c889ce3
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      Makefile

+ 3 - 3
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