aboutsummaryrefslogtreecommitdiffstats
path: root/bin/pacman-disowned
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2023-12-03 18:33:16 +0100
committerDavid Runge <dave@sleepmap.de>2023-12-03 18:33:16 +0100
commit2f694cefe3d30fe65320941bb5ee77472fff0e2b (patch)
tree84aa7554b4ea733302a1ef62229dbfa67f50474e /bin/pacman-disowned
parent6760e35c003b7a8efd9f3564773e5ff6a73bfe60 (diff)
downloaddotfiles-2f694cefe3d30fe65320941bb5ee77472fff0e2b.tar.gz
dotfiles-2f694cefe3d30fe65320941bb5ee77472fff0e2b.tar.bz2
dotfiles-2f694cefe3d30fe65320941bb5ee77472fff0e2b.tar.xz
dotfiles-2f694cefe3d30fe65320941bb5ee77472fff0e2b.zip
bin: Remove unused scripts
Signed-off-by: David Runge <dave@sleepmap.de>
Diffstat (limited to 'bin/pacman-disowned')
-rwxr-xr-xbin/pacman-disowned16
1 files changed, 0 insertions, 16 deletions
diff --git a/bin/pacman-disowned b/bin/pacman-disowned
deleted file mode 100755
index df1b5da..0000000
--- a/bin/pacman-disowned
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-tmp=${TMPDIR-/tmp}/pacman-disowned-$UID-$$
-db=$tmp/db
-fs=$tmp/fs
-
-mkdir "$tmp"
-trap 'rm -rf "$tmp"' EXIT
-
-pacman -Qlq | sort -u > "$db"
-
-find /bin /etc /lib /sbin /usr \
- ! -name lost+found \
- \( -type d -printf '%p/\n' -o -print \) | sort > "$fs"
-
-comm -23 "$fs" "$db"