saubermann-common: check for common problems + junk

master
neingeist 8 years ago
parent 0b50a9477d
commit 3bf13f2251

@ -0,0 +1,8 @@
#!/bin/sh
# check for common problems + junk
echo "== Dangling symlinks in /etc"
symlinks -r /etc | grep ^dangling | egrep -v 'blkid.tab|/var/log/dropbear'
echo "== Trashes"
du -s /home/*/.local/share/Trash | awk '{ if ($1 > 100000) { print } }'

@ -1,5 +1,7 @@
#!/bin/sh
# check for things not installed via dpkg/apt
# check for things not installed via dpkg/apt and other junk
saubermann-common
echo "== Packages not in installed state"
dpkg -l | egrep -v "^(ii|Desired|\||\+)"

@ -1,5 +1,7 @@
#!/bin/sh
# check for things not installed via RPM
# check for things not installed via RPM and other junk
saubermann-common
echo "== should be installed via RPM or pip install --user:"
for site_packages in /usr/lib/python2.7/site-packages/; do

Loading…
Cancel
Save