⬆️ saubermann: use grep -E instead of egrep

master
neingeist 7 days ago
parent 38a02c8d30
commit 98b70d5716

@ -13,7 +13,7 @@ is_fedora() {
echo "== Dangling symlinks in /etc" 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" echo "== Trashes"
for t in /home/*/.local/share/Trash; do 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 # check for things not installed via dpkg/apt and other junk
echo "== Packages not in installed state" echo "== Packages not in installed state"
dpkg -l | egrep -v "^(ii|Desired|\||\+)" dpkg -l | grep -Ev "^(ii|Desired|\||\+)"
echo "== Orphan packages" 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" echo "== *.dpkg in /etc"
find /etc -name "*.dpkg-*" -or -name "*.ucf-*" find /etc -name "*.dpkg-*" -or -name "*.ucf-*"

Loading…
Cancel
Save