diff options
Diffstat (limited to 'build/mac/installer-resources/InstallationCheck')
-rwxr-xr-x | build/mac/installer-resources/InstallationCheck | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build/mac/installer-resources/InstallationCheck b/build/mac/installer-resources/InstallationCheck new file mode 100755 index 0000000..b8d4cbc --- /dev/null +++ b/build/mac/installer-resources/InstallationCheck @@ -0,0 +1,11 @@ +#!/bin/sh + +OS_VER=`/usr/bin/uname -r` +OS_MAJ=`/usr/bin/uname -r | cut -f 1 -d .` + +if [ "$OS_VER" = "6.8" -o "$OS_VER" = "6.8.5" -o "$OS_MAJ" = "7" ]; then + exit 0 +fi + +# Refuse to install, giving standard error message +exit 96 |