blob: 8ef8da16d2fb34e4271606467554bd82f5956d88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/bash
if command -v paru >/dev/null; then
paru
else
sudo pacman -Syu
sudo pacman -S --needed base-devel git
pushd aur.archlinux.org/paru
git pull
makepkg -si
popd
fi
paru -S --needed $(<all)
sudo reflector --country 'Austria' --latest 10 --sort rate --save /etc/pacman.d/mirrorlist
sudo systemctl enable --now reflector.timer
paru -Rns $(paru -Qqdt)
sudo systemctl enable paccache.timer
|