backup-and-update-system: we no longer use yay

This commit is contained in:
Franzi 2021-07-09 12:42:32 +02:00
parent 3627e07720
commit a4112d4226
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -10,7 +10,7 @@ git --git-dir=$HOME/.cfg/ --work-tree=$HOME push
# Fetch a fresh copy of all locally cloned git repos
for dir in $(find /home/kunsi/git -mindepth 1 -maxdepth 1 -type d)
do
git --git-dir=$dir/.git --work-tree=$dir fetch || true
git -C "$dir" fetch || true
done
# Do a backup.
@ -36,4 +36,4 @@ rsync -zaAP --numeric-ids --delete --relative \
"/home/kunsi" "kunsi-t470@home.nas":backups/
# Do updates
yay -Syu
sudo pacman -Syu --noconfirm