NoSignal-OS/os updates/base-default-packages/install-base-default-packages.sh
28allday 19fd794b6b NoSignal — fully-offline Arch → Hyprland desktop installer
Single-script builder (nosignal.sh) that turns a stock Arch Linux ISO into a
fully-offline installer for a themed Hyprland + caelestia (Quickshell) desktop:
matching SDDM greeter, Btrfs/Limine bootable snapshots, chwd-style GPU
detection, and a curated "os updates" layer (keybind cheatsheet, settings
panels, system polish, on-box management skill). See README.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-21 11:03:10 +01:00

20 lines
653 B
Bash
Executable file

#!/bin/sh
# install-base-default-packages.sh — idempotent. Needs root (pacman).
#
# Ensures packages that should be installed BY DEFAULT in the base build (not
# opt-in Additions). For the ISO, the builder should add these to the base
# package set; this covers already-installed systems via nosignal-update.
set -eu
# Base default packages (official repos; GPU-agnostic):
PKGS="github-cli"
if [ "$(id -u)" -eq 0 ]; then
pacman -S --needed --noconfirm $PKGS
elif command -v sudo >/dev/null 2>&1; then
sudo pacman -S --needed --noconfirm $PKGS
else
echo "need root to install: $PKGS" >&2
exit 1
fi
echo "base default packages ensured: $PKGS"