From b3d66ff010268e1f63f5555508833dcf3604f0b6 Mon Sep 17 00:00:00 2001 From: Stefan Staudenmeyer Date: Fri, 5 Feb 2016 18:55:39 +0100 Subject: [PATCH] Use grep -qE instead of egrep which is deprecated. Signed-off-by: Stefan Staudenmeyer --- hack/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/install.sh b/hack/install.sh index b5b14bee86..cd7b9fe1a0 100755 --- a/hack/install.sh +++ b/hack/install.sh @@ -372,7 +372,7 @@ do_install() { # aufs is preferred over devicemapper; try to ensure the driver is available. if ! grep -q aufs /proc/filesystems && ! $sh_c 'modprobe aufs'; then - if uname -r | grep -q -- '-generic' && dpkg -l 'linux-image-*-generic' | egrep '^ii|^hi' 2>/dev/null; then + if uname -r | grep -q -- '-generic' && dpkg -l 'linux-image-*-generic' | grep -qE '^ii|^hi' 2>/dev/null; then kern_extras="linux-image-extra-$(uname -r) linux-image-extra-virtual" apt_get_update