diff --git a/src/packaging/MacOS/InstallationCheck b/src/packaging/MacOS/InstallationCheck new file mode 100644 index 0000000000..5f33391ad8 --- /dev/null +++ b/src/packaging/MacOS/InstallationCheck @@ -0,0 +1,10 @@ +#!/bin/sh +majorvers=`uname -r | sed 's/\..*//'` +echo "InstallationCheck: os release is $majorvers" +if [ $majorvers -ne 8 ]; then +echo "InstallationCheck: not ok" + exit 112 +fi + +echo "InstallationCheck: ok" +exit 0 diff --git a/src/packaging/MacOS/InstallationCheck.strings b/src/packaging/MacOS/InstallationCheck.strings new file mode 100644 index 0000000000..62d12c1bce --- /dev/null +++ b/src/packaging/MacOS/InstallationCheck.strings @@ -0,0 +1 @@ +"16" = "This OpenAFS release requires Tiger (10.4)"