Skip to content

Conversation

@sthysel
Copy link
Contributor

@sthysel sthysel commented Jan 14, 2026

No description provided.

Hooks/yay/pre.sh Outdated
rootdo pacman -S --needed --noconfirm git base-devel
if ! command -v yay >/dev/null 2>&1; then
TMPDIR=$(mktemp -d)
git clone https://aur.archlinux.org/yay.git "$TMPDIR/yay"
Copy link
Owner

Choose a reason for hiding this comment

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

you could just do this and forget about the TMPDIR. The lib cleans up everything after it runs

git clone https://aur.archlinux.org/yay.git 
cd yay
makepkg -si --noconfirm

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.

2 participants