mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 20:29:24 +00:00
Fix yay-bin being checked out to $HOME instead of /tmp and not getting cleaned up
Co-author: @bbondier Closes #86
This commit is contained in:
@ -1,9 +1,11 @@
|
|||||||
sudo pacman -S --needed --noconfirm base-devel
|
sudo pacman -S --needed --noconfirm base-devel
|
||||||
|
|
||||||
if ! command -v yay &>/dev/null; then
|
if ! command -v yay &>/dev/null; then
|
||||||
|
cd /tmp
|
||||||
git clone https://aur.archlinux.org/yay-bin.git
|
git clone https://aur.archlinux.org/yay-bin.git
|
||||||
cd yay-bin
|
cd yay-bin
|
||||||
makepkg -si --noconfirm
|
makepkg -si --noconfirm
|
||||||
cd ~
|
cd -
|
||||||
rm -rf yay-bin
|
rm -rf yay-bin
|
||||||
|
cd ~
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user