diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2009-04-17 10:40:52 (GMT) |
---|---|---|
committer | Alexis Menard <alexis.menard@nokia.com> | 2009-04-17 10:40:52 (GMT) |
commit | bb2e4df9bee3148e819c98410aa36e22dad95d7a (patch) | |
tree | a6e6e8c070a72378d4b2e5f39ad3cc9c368b61ab /util/scripts/mac-binary/package/opensourceStuff | |
download | Qt-bb2e4df9bee3148e819c98410aa36e22dad95d7a.zip Qt-bb2e4df9bee3148e819c98410aa36e22dad95d7a.tar.gz Qt-bb2e4df9bee3148e819c98410aa36e22dad95d7a.tar.bz2 |
Initial import of kinetic-animations branch from the old kinetic
repository to the new repository
Diffstat (limited to 'util/scripts/mac-binary/package/opensourceStuff')
-rwxr-xr-x | util/scripts/mac-binary/package/opensourceStuff/InstallationCheck | 15 | ||||
-rw-r--r-- | util/scripts/mac-binary/package/opensourceStuff/InstallationCheck.strings | bin | 0 -> 180 bytes |
2 files changed, 15 insertions, 0 deletions
diff --git a/util/scripts/mac-binary/package/opensourceStuff/InstallationCheck b/util/scripts/mac-binary/package/opensourceStuff/InstallationCheck new file mode 100755 index 0000000..f1cd8ad --- /dev/null +++ b/util/scripts/mac-binary/package/opensourceStuff/InstallationCheck @@ -0,0 +1,15 @@ +#!/bin/sh + +# We need to do things differently on different platforms +# <10.3.9 Can't install +# =10.3.9 Can install, but must check license manually +# >=10.4 Just jump out + +os_version=`sysctl kern.osrelease | awk '{ print $3 }'` +os_major=`echo $os_version | cut -d . -f 1` +os_minor=`echo $os_version | cut -d . -f 2` + +if [ $os_major -lt 7 -o $os_major -eq 7 -a $os_minor -lt 9 ]; then + exit $((96+19)) +fi +exit 0 diff --git a/util/scripts/mac-binary/package/opensourceStuff/InstallationCheck.strings b/util/scripts/mac-binary/package/opensourceStuff/InstallationCheck.strings Binary files differnew file mode 100644 index 0000000..4b82b30 --- /dev/null +++ b/util/scripts/mac-binary/package/opensourceStuff/InstallationCheck.strings |