saubermann-common: check for common problems + junk
This commit is contained in:
parent
0b50a9477d
commit
3bf13f2251
3 changed files with 14 additions and 2 deletions
8
saubermann-common
Executable file
8
saubermann-common
Executable file
|
@ -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…
Add table
Add a link
Reference in a new issue