saubermann: use find to find dangling symlinks

master
neingeist 7 years ago
parent 605d32442a
commit 21059b6dcb

@ -12,7 +12,7 @@ is_fedora() {
echo "== Dangling symlinks in /etc" 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" echo "== Trashes"
du -s /home/*/.local/share/Trash | awk '{ if ($1 > 100000) { print } }' du -s /home/*/.local/share/Trash | awk '{ if ($1 > 100000) { print } }'

Loading…
Cancel
Save