Do not sync twice during pacman updates

This commit is contained in:
2025-11-04 16:58:23 +01:00
parent 80ee51ccfa
commit b2bc182e02
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@
# Make sure that keys are up to date, otherwise sig checks may fail # Make sure that keys are up to date, otherwise sig checks may fail
pacman --sync --noprogressbar --noconfirm --refresh --needed archlinux-keyring pacman --sync --noprogressbar --noconfirm --refresh --needed archlinux-keyring
pacman --sync --noprogressbar --noconfirm --sysupgrade pacman --noprogressbar --noconfirm --sysupgrade
- name: Install pacman autoupdate service - name: Install pacman autoupdate service
ansible.builtin.copy: ansible.builtin.copy:

View File

@@ -3,7 +3,7 @@
set -o nounset set -o nounset
set -o errexit set -o errexit
sudo bash -c "pacman -Sy --needed archlinux-keyring && pacman -Syu" sudo bash -c "pacman -Sy --needed archlinux-keyring && pacman -Su"
./update-aur-pkgs.sh ./update-aur-pkgs.sh