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:
parent
17ead79b74
commit
c63b87b416
@ -1,9 +1,11 @@
|
||||
sudo pacman -S --needed --noconfirm base-devel
|
||||
|
||||
if ! command -v yay &>/dev/null; then
|
||||
cd /tmp
|
||||
git clone https://aur.archlinux.org/yay-bin.git
|
||||
cd yay-bin
|
||||
makepkg -si --noconfirm
|
||||
cd ~
|
||||
cd -
|
||||
rm -rf yay-bin
|
||||
cd ~
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user