Skip to content

fix: use available Arch package installer for bashrc support#130

Merged
ChrisTitusTech merged 2 commits into
ChrisTitusTech:mainfrom
thepinak503:main
Jul 13, 2026
Merged

fix: use available Arch package installer for bashrc support#130
ChrisTitusTech merged 2 commits into
ChrisTitusTech:mainfrom
thepinak503:main

Conversation

@thepinak503

@thepinak503 thepinak503 commented May 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • prefer an installed paru or yay helper for Arch support packages
  • fall back to sudo pacman -S --needed when no AUR helper is installed
  • return an explicit error when no supported Arch package installer is available
  • update the contributor branch with current main

Root cause

The original implementation used sudo paru without the -S operation. Current main replaced that with pacman; this update preserves the contributor's helper detection while retaining pacman as the universal fallback for plain Arch installations.

Package installation remains interactive and does not force --noconfirm.

Validation

  • bash -n .bashrc setup.sh uninstall.sh
  • shellcheck .bashrc setup.sh uninstall.sh
  • shfmt -d .bashrc setup.sh uninstall.sh
  • mocked installer-selection checks for paru, yay, pacman, and the failure path

@technicks89 technicks89 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is good

@ChrisTitusTech ChrisTitusTech changed the title fix: detect AUR helper in install_bashrc_support instead of hardcoded sudo paru fix: use available Arch package installer for bashrc support Jul 13, 2026
@ChrisTitusTech ChrisTitusTech merged commit 240dcac into ChrisTitusTech:main Jul 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants