refactor: update dependencies installation script
This commit is contained in:
parent
1c39e743d4
commit
3a7eb3729c
1 changed files with 121 additions and 128 deletions
|
|
@ -38,7 +38,7 @@ fi
|
||||||
echo -e "${YELLOW}OS: $OS${NC}"
|
echo -e "${YELLOW}OS: $OS${NC}"
|
||||||
|
|
||||||
install_debian_ubuntu() {
|
install_debian_ubuntu() {
|
||||||
apt-get update
|
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
libpq5 \
|
libpq5 \
|
||||||
libssl3 \
|
libssl3 \
|
||||||
|
|
@ -47,18 +47,11 @@ install_debian_ubuntu() {
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
curl \
|
curl \
|
||||||
wget \
|
wget \
|
||||||
libabseil20210324 \
|
|
||||||
libclang1 \
|
libclang1 \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
snapd
|
snapd
|
||||||
|
|
||||||
# LXC for containers
|
|
||||||
snap install lxd || apt-get install -y lxd || true
|
|
||||||
|
|
||||||
# Initialize LXD
|
|
||||||
if command -v lxd &> /dev/null && ! lxc list &> /dev/null 2>&1; then
|
|
||||||
lxd init --auto || true
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
install_fedora_rhel() {
|
install_fedora_rhel() {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue