mirror of
https://gitlab.com/signald/libraries/libsignal-client.git
synced 2024-12-04 19:46:37 +00:00
add missing script
This commit is contained in:
parent
774a007697
commit
d95a619341
1 changed files with 23 additions and 0 deletions
23
prepare-env.sh
Executable file
23
prepare-env.sh
Executable file
|
@ -0,0 +1,23 @@
|
|||
#!/bin/bash
|
||||
set -exuo pipefail
|
||||
|
||||
apt-get update
|
||||
|
||||
PACKAGES="git"
|
||||
case "${TARGET}" in
|
||||
aarch64-unknown-linux-gnu)
|
||||
apt-get install -y "${PACKAGES}" {cpp,g++,gcc}-aarch64-linux-gnu
|
||||
;;
|
||||
arm-unknown-linux-gnueabi)
|
||||
apt-get install -y "${PACKAGES}" {cpp,g++,gcc}-arm-linux-gnueabi
|
||||
;;
|
||||
arm-unknown-linux-gnueabihf)
|
||||
apt-get install -y "${PACKAGES}" {cpp,g++,gcc}-arm-linux-gnueabihf
|
||||
;;
|
||||
armv7-unknown-linux-gnueabihf)
|
||||
apt-get install -y "${PACKAGES}" {cpp,g++,gcc}-arm-linux-gnueabihf
|
||||
;;
|
||||
*)
|
||||
apt-get install -y "${PACKAGES}"
|
||||
;;
|
||||
esac
|
Loading…
Reference in a new issue