diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2021-02-08 20:05:52 +0100 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2021-02-08 20:27:22 +0100 |
| commit | a510034216ce37ac0f82afabe77c38aa058cc3fb (patch) | |
| tree | 293d78bd5b7adc33df6b299aa82b8bff64b40d44 /yay | |
| parent | 802f2d6257f70f58d3199a522ed982fe754abb94 (diff) | |
.
Diffstat (limited to 'yay')
| -rw-r--r-- | yay/.gitignore | 1 | ||||
| -rwxr-xr-x | yay/install.sh | 11 |
2 files changed, 2 insertions, 10 deletions
diff --git a/yay/.gitignore b/yay/.gitignore deleted file mode 100644 index fad73f6..0000000 --- a/yay/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/yay diff --git a/yay/install.sh b/yay/install.sh index ba7eaf7..48ee1c8 100755 --- a/yay/install.sh +++ b/yay/install.sh @@ -1,15 +1,8 @@ #!/bin/sh -if ! (which yay > /dev/null); then - cd $(dirname "$0") - sudo pacman -S --needed --noconfirm git base-devel - git clone https://aur.archlinux.org/yay.git - cd yay - makepkg -si -fi - +yay --save --sudo doas yay -S --needed --noconfirm \ $(cat ~/.dotfiles/yay/packages.txt | \ xargs -I{} sh -c \ "(pacman -Q {} &> /dev/null) || echo {}") -yay --save --sudo doas + |
