Python
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Path: scripts/base.sh
|
||||
|
||||
set -e
|
||||
|
||||
# Colors
|
||||
BLUE='\033[1;34m'
|
||||
YELLOW='\033[1;33m'
|
||||
GREEN='\033[1;32m'
|
||||
@@ -27,14 +29,12 @@ if [ "$ARCH" != "x86_64" ] && [ "$ARCH" != "aarch64" ]; then
|
||||
fi
|
||||
|
||||
# 2. Package Installation (OS Dependencies)
|
||||
# Note: Removed 'go', 'npm', 'cargo' - these are handled by specific scripts
|
||||
PACKAGES=(
|
||||
curl wget git sudo zsh tmux unzip tar gzip
|
||||
build-essential openssl python bison mercurial
|
||||
openssl python bison mercurial
|
||||
ripgrep fd bat fzf jq btop httpie gnupg zoxide stow
|
||||
bind nmap socat tcpdump net-tools strace gdb hexyl
|
||||
rclone
|
||||
# 'eza' is REMOVED from here for Ubuntu logic below
|
||||
)
|
||||
|
||||
if [ "$OS" == "arch" ] || [ "$OS" == "manjaro" ]; then
|
||||
@@ -42,10 +42,10 @@ if [ "$OS" == "arch" ] || [ "$OS" == "manjaro" ]; then
|
||||
sudo pacman -Sy --noconfirm --needed "${PACKAGES[@]}" base-devel
|
||||
elif [ "$OS" == "ubuntu" ] || [ "$OS" == "debian" ]; then
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get update
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y "${PACKAGES[@]}" bsdmainutils pkg-config cmake
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y "${PACKAGES[@]}" bsdmainutils pkg-config cmake build-essential
|
||||
fi
|
||||
|
||||
# Moving Pre-Built bin to /usr/local/bin
|
||||
# Moving Pre-Built bin to .local/bin
|
||||
mkdir -p "$HOME/.local/bin"
|
||||
cp -f "$REPO_ROOT/bin/"* "$HOME/.local/bin/"
|
||||
chmod +x "$HOME/.local/bin/"*
|
||||
|
||||
Reference in New Issue
Block a user