X-Git-Url: http://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fpackaging%2FMacOS%2FOpenAFS.post_install;h=ad6e70429dd60024f4b0dd146ef27c2d5598608a;hp=eb236bf497f553601f311516ad4692756c1abee3;hb=6d6a28720f4eae4652f2628fdfcc30983916f39d;hpb=09ec1073b4c5d2eb70dcf5d8063018bc82e5a35e diff --git a/src/packaging/MacOS/OpenAFS.post_install b/src/packaging/MacOS/OpenAFS.post_install index eb236bf..ad6e704 100644 --- a/src/packaging/MacOS/OpenAFS.post_install +++ b/src/packaging/MacOS/OpenAFS.post_install @@ -8,7 +8,7 @@ if [ $majorvers -ge 19 ]; then # Root mount point is read-only. To workaround this restriction, add a # synthetic entity for afs into /etc/synthetic.conf. For more information, # please read man synthetic.conf(5). - grep -wqs 'afs' /etc/synthetic.conf || echo 'afs' >> /etc/synthetic.conf + grep -qs '^afs$' /etc/synthetic.conf || echo 'afs' >> /etc/synthetic.conf elif [ $majorvers -ge 7 ]; then # /Network is now readonly, so put AFS in /afs; make sure /afs is a directory if [ -e /afs ]; then