summaryrefslogtreecommitdiff
path: root/.local/bin/aurignored
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.xyz>2023-05-04 15:52:13 +0200
committerAdam Stück <adam@adast.xyz>2023-05-04 15:52:13 +0200
commitac0422a9eb7ca9faae96566ca92a7e579d9a6437 (patch)
tree455ffac76f3cfdde083473b4ff60f334a16e8b04 /.local/bin/aurignored
parentaa3f5d6aabf002582bf77652aa0b5177a18a3bec (diff)
Drop unused scripts
Diffstat (limited to '.local/bin/aurignored')
-rwxr-xr-x.local/bin/aurignored16
1 files changed, 0 insertions, 16 deletions
diff --git a/.local/bin/aurignored b/.local/bin/aurignored
deleted file mode 100755
index efb12f7..0000000
--- a/.local/bin/aurignored
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-# Get list of ignored pkgs
-ignored() {
- pkgs="$(grep IgnorePkg /etc/pacman.conf | sed -e 's/IgnorePkg =//' -e 's/#.*//')"
- grps="$(grep IgnoreGroup /etc/pacman.conf | sed -e 's/IgnoreGroup =//' -e 's/#.*//')"
- [ -n "$grps" ] && pkgs="$pkgs $(pacman -Sgq "$grps")"
-
- echo -n "$pkgs" | tail -n -1
-}
-
-# Return only AUR pkgs
-for pkg in $(ignored)
-do
- pacman -Si "$pkg" >/dev/null 2>&1 || echo "$pkg"
-done