backup-and-update-system: we no longer use yay
This commit is contained in:
parent
3627e07720
commit
a4112d4226
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ git --git-dir=$HOME/.cfg/ --work-tree=$HOME push
|
||||||
# Fetch a fresh copy of all locally cloned git repos
|
# Fetch a fresh copy of all locally cloned git repos
|
||||||
for dir in $(find /home/kunsi/git -mindepth 1 -maxdepth 1 -type d)
|
for dir in $(find /home/kunsi/git -mindepth 1 -maxdepth 1 -type d)
|
||||||
do
|
do
|
||||||
git --git-dir=$dir/.git --work-tree=$dir fetch || true
|
git -C "$dir" fetch || true
|
||||||
done
|
done
|
||||||
|
|
||||||
# Do a backup.
|
# Do a backup.
|
||||||
|
@ -36,4 +36,4 @@ rsync -zaAP --numeric-ids --delete --relative \
|
||||||
"/home/kunsi" "kunsi-t470@home.nas":backups/
|
"/home/kunsi" "kunsi-t470@home.nas":backups/
|
||||||
|
|
||||||
# Do updates
|
# Do updates
|
||||||
yay -Syu
|
sudo pacman -Syu --noconfirm
|
||||||
|
|
Loading…
Reference in a new issue