cli: Télécharge et extrait les paquets d'un .zip

This commit is contained in:
2022-10-13 08:31:14 +02:00
parent 74ef6db44f
commit a7125e3acf
20 changed files with 172 additions and 26 deletions

View File

@@ -22,8 +22,8 @@ vdn-ssh root@$VDN_SYSTEM << EOF
route del default gw 192.168.2.1
route add default gw 10.0.2.2
export http_proxy=http://193.49.118.36:8080/
if ! pkg-config nlohmann_json --exists || ! pkg-config libcurl --exists; then
apt-get install -y nlohmann-json3-dev libcurl4-openssl-dev
if ! pkg-config nlohmann_json --exists || ! pkg-config libcurl --exists || ! pkg-config libminizip --exists; then
apt-get install -y nlohmann-json3-dev libcurl4-openssl-dev libminizip-dev
fi
make
EOF