Add Ninja to base

This commit is contained in:
MangoPig
2025-12-09 03:29:57 +00:00
parent 02ba07b207
commit a9cebf9b8b
9 changed files with 20 additions and 89 deletions

View File

@@ -40,7 +40,7 @@ PACKAGES=(
btop httpie gnupg
zoxide stow
bind nmap socat tcpdump net-tools
strace gdb hexyl
strace gdb hexyl ninja-build
)
FINAL_LIST=""
@@ -71,6 +71,10 @@ for pkg in "${PACKAGES[@]}"; do
[ "$OS" == "arch" ] && pkg="bind"
[ "$OS" == "ubuntu" ] && pkg="dnsutils"
;;
"ninja-build")
[ "$OS" == "arch" ] && pkg="ninja"
[ "$OS" == "ubuntu" ] && pkg="ninja-build"
;;
*)
esac
@@ -111,7 +115,7 @@ if ! command -v rclone &> /dev/null; then
curl https://rclone.org/install.sh | sudo bash
fi
# 3. Docker Installation
# Docker Installation
if command -v docker &> /dev/null; then
echo -e "${GREEN} LOG: Docker is already installed.${NC}"
else
@@ -124,7 +128,6 @@ else
sudo pacman -S --noconfirm --needed docker docker-compose
sudo systemctl enable --now docker
elif [ "$OS" == "ubuntu" ]; then
# (Simplified for brevity - standard Docker install logic)
curl -fsSL https://get.docker.com | sh
fi