leopard-updates-20061109
[openafs.git] / src / packaging / MacOS / InstallationCheck.9
diff --git a/src/packaging/MacOS/InstallationCheck.9 b/src/packaging/MacOS/InstallationCheck.9
new file mode 100644 (file)
index 0000000..9061222
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+majorvers=`uname -r | sed 's/\..*//'`
+echo "InstallationCheck: os release is $majorvers"
+if [ $majorvers -ne 9 ]; then
+echo "InstallationCheck: not ok"
+       exit 112
+fi
+
+echo "InstallationCheck: ok"
+exit 0