saubermann: use find to find dangling symlinks

This commit is contained in:
neingeist 2017-11-14 11:39:45 +01:00
parent 605d32442a
commit 21059b6dcb

View file

@ -12,7 +12,7 @@ is_fedora() {
echo "== Dangling symlinks in /etc"
symlinks -r /etc | grep ^dangling | egrep -v 'blkid.tab|/var/log/dropbear'
find /etc -type l -and -xtype l | egrep -v 'blkid.tab|/var/log/dropbear'
echo "== Trashes"
du -s /home/*/.local/share/Trash | awk '{ if ($1 > 100000) { print } }'