[PATCH] oksh: remove non-portable grep option from post-install script

[PATCH] oksh: remove non-portable grep option from post-install script

From: Aaron G
To check whether or not `oksh` already exists in /etc/shells, grep's -w
options was used (match whole words only).  Since there is only one
shell per line in /etc/shells, we might as well use the portable -x
option (match whole lines only) instead.
---
 community/oksh/post-install | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/community/oksh/post-install b/community/oksh/post-install
index 10372d09..6d77721a 100755
--- a/community/oksh/post-install
+++ b/community/oksh/post-install
@@ -1,4 +1,4 @@
 #!/bin/sh -e
 
-grep -qFw /usr/bin/ksh /etc/shells ||
+grep -qFx /usr/bin/ksh /etc/shells ||
     printf /usr/bin/ksh\\n >>/etc/shells
-- 
2.31.1

[PATCH] oksh: remove non-portable grep option from post-install script

From: Dilyn Corner
Applied this and the bump; thanks!

Dilyn