Update AUR updater script
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
git submodule update --remote pkgbuilds/*
|
|
||||||
@@ -5,7 +5,7 @@ set -o errexit
|
|||||||
|
|
||||||
sudo pacman -Syu
|
sudo pacman -Syu
|
||||||
|
|
||||||
./check-aur-updates.sh
|
./update-aur-pkgs.sh
|
||||||
|
|
||||||
ANSIBLE_DISPLAY_OK_HOSTS=false \
|
ANSIBLE_DISPLAY_OK_HOSTS=false \
|
||||||
ANSIBLE_DISPLAY_SKIPPED_HOSTS=false \
|
ANSIBLE_DISPLAY_SKIPPED_HOSTS=false \
|
||||||
|
|||||||
9
update-aur-pkgs.sh
Executable file
9
update-aur-pkgs.sh
Executable file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
for pkg in pkgbuilds/* ; do
|
||||||
|
git submodule update --remote "${pkg}"
|
||||||
|
if git status --porcelain "${pkg}" | grep -q . ; then
|
||||||
|
git add "${pkg}"
|
||||||
|
git commit -m "aur: Update $(basename "${pkg}")"
|
||||||
|
fi
|
||||||
|
done
|
||||||
Reference in New Issue
Block a user