X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/3d6d650d6e501ae2d961a6b418b7edeb021dba8d..158dc06f7ecd7f64e1aab5598be5b28fdc8ae926:/bin/pacman-disowned?ds=inline diff --git a/bin/pacman-disowned b/bin/pacman-disowned deleted file mode 100755 index 6c2d10e..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"