From fb699e92e5f6d1133c53c7e2a449b9d16360d5c1 Mon Sep 17 00:00:00 2001 From: David Young Date: Thu, 9 Apr 2026 13:50:52 -0600 Subject: [PATCH] installation of basic development tools --- install.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/install.sh b/install.sh index 117b4ee..2acc5f1 100755 --- a/install.sh +++ b/install.sh @@ -28,6 +28,18 @@ print_logo cd ~ sudo -v +if ! command -v git &> /dev/null; then + echo "Installing git..." + sudo pacman -S --noconfirm git +fi + +if ! pacman -Qi base-devel &> /dev/null; then + echo "Installing base-devel..." + sudo pacman -S --noconfirm base-devel +else + echo "base-devel is already installed, skipping." +fi + echo "Getting the latest version of HamPackServer..." rm -rf ~/.local/share/HamPack git clone https://gitea.young.computer/david/HamPackServer.git ~/.local/share/HamPack > /dev/null