- fetch ()
- {
- cd $PKGDIR
- curl -s curl -s https://aur.archlinux.org/cgit/aur.git/snapshot/$1.tar.gz | tar -xz --overwrite
- }
- #yay -Salq 1> /run/media/kostya/mirror/mirror/manjaro/aur.log 2>&1
- # /dev/null
- # &1
- paru -Slqa > /run/media/kostya/mirror/mirror/manjaro/aur/aur.log
- ARCH=$(uname -m)
- echo -e "\e[44;31m==> \e[1;37mНачинаем синхронизацию AUR\e[0m"
- for i in $(cat /run/media/kostya/mirror/mirror/manjaro/aur/aur.log); do fetch $i ; done