feat: install script re-org

This commit is contained in:
2026-02-13 15:13:12 +00:00
parent faf3bf2dfc
commit eb958a36e0
26 changed files with 5 additions and 3 deletions

26
install.d/11-apt.sh Executable file
View File

@@ -0,0 +1,26 @@
#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Description:
# (distros with apt only) Install core apt packages.
#
# apt only
[[ "$DOTS_PKG" != "apt" ]] && { log_skip "Not using apt"; return 0; }
apt_packages=(
build-essential
ca-certificates
curl
gnupg
gnupg2
wget
)
sudo apt-get update -qq
sudo apt-get install -qq "${apt_packages[@]}"
unset apt_packages
apt --version
log_pass "apt packages installed"