aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/etc/pacman.d/hooks/orphans.hook
diff options
context:
space:
mode:
authorLibravatar sommerfeld <[email protected]>2026-04-17 10:54:17 +0100
committerLibravatar sommerfeld <[email protected]>2026-04-17 10:54:17 +0100
commit87033a4fb88c29e8184ed70817f1a03bad1f246e (patch)
tree0d9483b4160f7fed1c92bcaae70172db255d5404 /etc/pacman.d/hooks/orphans.hook
parente6f0fc732459a2ec38edb0368eba1c1e3cde39da (diff)
downloaddotfiles-87033a4fb88c29e8184ed70817f1a03bad1f246e.tar.gz
dotfiles-87033a4fb88c29e8184ed70817f1a03bad1f246e.tar.bz2
dotfiles-87033a4fb88c29e8184ed70817f1a03bad1f246e.zip
chore: trim comments from etc configs
- orphans.hook: remove commented-out alternative Exec line - reflector.conf: strip comment bloat, keep only active settings
Diffstat (limited to 'etc/pacman.d/hooks/orphans.hook')
-rw-r--r--etc/pacman.d/hooks/orphans.hook1
1 files changed, 0 insertions, 1 deletions
diff --git a/etc/pacman.d/hooks/orphans.hook b/etc/pacman.d/hooks/orphans.hook
index 48c1d8d..aae9148 100644
--- a/etc/pacman.d/hooks/orphans.hook
+++ b/etc/pacman.d/hooks/orphans.hook
@@ -9,4 +9,3 @@ Target = *
Description = Searching for orphaned packages...
When = PostTransaction
Exec = /usr/bin/bash -c "/usr/bin/pacman -Qtd || /usr/bin/echo '==> no orphans found.'"
-#Exec = /usr/bin/bash -c "[[ if $(/usr/bin/pacman -Qtdq) = 0 ]] && /usr/bin/pacman -Rns $(/usr/bin/pacman -Qtdq) || /usr/bin/echo '==> No orphaned packages found.'"