Skip to main content

aur_install_helper_flags

Function aur_install_helper_flags 

Source
pub const fn aur_install_helper_flags(reinstall: bool) -> &'static str
Expand description

What: Flag sequence for a non-interactive paru/yay -S install of AUR-only targets.

Inputs:

  • reinstall: When true, omit --needed (reinstall path).

Output:

  • Static flag string including -S and --aur (e.g. -S --aur --needed --noconfirm).

Details:

  • Same string is passed to both helpers via aur_install_body.
  • --aur ensures helpers do not prefer a sync database (e.g. Chaotic-AUR) when the same name exists on the AUR.