From 92fca527c3e628f59c570137f0b25f1213c74c68 Mon Sep 17 00:00:00 2001 From: Nicolas Iooss Date: Wed, 8 Jan 2025 20:52:14 +0100 Subject: [PATCH] tests/interactive_shell: support new location for grep in Ubuntu 24.04 Ubuntu 24.04 moved grep to /usr/bin/grep. --- tests/interactive_shell.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/interactive_shell.sh b/tests/interactive_shell.sh index 21bd18b..788af86 100755 --- a/tests/interactive_shell.sh +++ b/tests/interactive_shell.sh @@ -172,6 +172,9 @@ if ! grep -e '^ID=debian$' -e '^ID_LIKE=debian$' /usr/lib/os-release > /dev/null # Redhat grep-*$(uname -m)) ;; + # Ubuntu + grep:\ /usr/bin/grep) + ;; *) die "whichpkg grep returned an unknown result: $PKGGREP" ;;