summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-12-26 17:16:09 -0800
committerxyz <gky44px1999@gmail.com>2021-12-26 17:16:09 -0800
commit62823c21f071c57cccdfc225862e03b37a352048 (patch)
tree0de27b6ac0e8286d0c096a6c1bdf12b91c004efe /home
parent78d8f42a1a26125489dea2e82caf1d24c7502a42 (diff)
switch to pacman neovim, use echo 1 instead of yes 1
Diffstat (limited to 'home')
-rwxr-xr-xhome/xyz/.local/bin/upd4
1 files changed, 3 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/upd b/home/xyz/.local/bin/upd
index b8da2296..2d1e725c 100755
--- a/home/xyz/.local/bin/upd
+++ b/home/xyz/.local/bin/upd
@@ -77,7 +77,9 @@ pac () {
aurpacs="$(paru --noconfirm -aSyu | tee /dev/tty | grep '^Aur' | cut -d' ' -f3-)"
# part steal from aur comment
# sometimes "ERROR: Failure while downloading": https://github.com/neovim/neovim/issues/15709
- rm -rf ~/.cache/paru/clone/neovim-nightly-bin/ && yes 1 | PARU_PAGER=cat paru --rebuild --redownload neovim-nightly-bin
+ # echo 1, printf 1 and yes 1 all works? not sure why
+ # aur neovim-nightly-bin has some issue on 12/26/2021? switch to community repo neovim temporary
+ #rm -rf ~/.cache/paru/clone/neovim-nightly-bin/ && echo 1 | PARU_PAGER=cat paru --rebuild --redownload neovim-nightly-bin
sudo pacman -Fy
# pacdiff default use pacman database, so no need `sudo -E` for find, but will be a little bit slower
log="$log