pub fn aur_install_body(flags: &str, n: &str) -> StringExpand description
What: Build the common AUR install body that prefers paru and falls back to yay.
Input:
flags: Full flag string forwarded to the helper (useaur_install_helper_flagsfor installs).n: Space-separated AUR package names only (must not include official/repo targets).
Output:
- Parenthesised shell snippet
(if ... fi)without the trailing hold suffix.
Details:
- Prefers
paruif available, otherwise falls back toyay. - Shows error message if no AUR helper is found.