Skip to content

Commit

Permalink
tests/interactive_shell: support new location for grep in Ubuntu 24.04
Browse files Browse the repository at this point in the history
Ubuntu 24.04 moved grep to /usr/bin/grep.
  • Loading branch information
fishilico committed Jan 8, 2025
1 parent b78ddb7 commit 92fca52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/interactive_shell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
;;
Expand Down

0 comments on commit 92fca52

Please sign in to comment.