saubermann: use find to find dangling symlinks
This commit is contained in:
parent
605d32442a
commit
21059b6dcb
1 changed files with 1 additions and 1 deletions
|
@ -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 } }'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue