⬆️ saubermann: use grep -E instead of egrep
This commit is contained in:
parent
38a02c8d30
commit
98b70d5716
1 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ is_fedora() {
|
|||
|
||||
|
||||
echo "== Dangling symlinks in /etc"
|
||||
find /etc -type l -and -xtype l | egrep -v 'blkid.tab|/var/log/dropbear|/etc/sv/ssh'
|
||||
find /etc -type l -and -xtype l | grep -Ev 'blkid.tab|/var/log/dropbear|/etc/sv/ssh'
|
||||
|
||||
echo "== Trashes"
|
||||
for t in /home/*/.local/share/Trash; do
|
||||
|
@ -26,10 +26,10 @@ if is_debian; then
|
|||
# check for things not installed via dpkg/apt and other junk
|
||||
|
||||
echo "== Packages not in installed state"
|
||||
dpkg -l | egrep -v "^(ii|Desired|\||\+)"
|
||||
dpkg -l | grep -Ev "^(ii|Desired|\||\+)"
|
||||
|
||||
echo "== Orphan packages"
|
||||
deborphan | egrep -v 'libc6-i686|lib.*-ruby$|opensync|gstreamer0.10-plugins.*|libtime-modules-perl|vpim|gnome-session-fallback|.*-globalmenu|gcalctool|clive|unity-scope'
|
||||
deborphan | grep -Ev 'libc6-i686|lib.*-ruby$|opensync|gstreamer0.10-plugins.*|libtime-modules-perl|vpim|gnome-session-fallback|.*-globalmenu|gcalctool|clive|unity-scope'
|
||||
|
||||
echo "== *.dpkg in /etc"
|
||||
find /etc -name "*.dpkg-*" -or -name "*.ucf-*"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue