Skip to content

Commit

Permalink
feat(sys-arch): let aura do some more
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAegis committed Sep 22, 2024
1 parent 06cadf9 commit 10eff5c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion modules/home/XDG_BIN_HOME.home/paku
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ fi

if command -v aura > /dev/null; then
echo "Updating AUR packages using aura..."
${SUDO_USER:+sudo -u $SUDO_USER} aura -Ayu --noconfirm
${SUDO_USER:+sudo -u $SUDO_USER} aura -Ayu --noconfirm # update AUR packages
${SUDO_USER:+sudo -u $SUDO_USER} aura -Bc --noconfirm # remove stale snapshots
${SUDO_USER:+sudo -u $SUDO_USER} aura check # diagnostics
fi

if command -v dnf > /dev/null; then
Expand Down
4 changes: 3 additions & 1 deletion modules/sys-arch/u.user.aura.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/sh

aura -Ayu --noconfirm
aura -Ayu --noconfirm # update AUR packages
aura -Bc --noconfirm # remove stale snapshots
aura check # diagnostics

0 comments on commit 10eff5c

Please sign in to comment.