mirror of
https://github.com/golang/go
synced 2024-11-26 14:56:47 -07:00
26 lines
919 B
Plaintext
26 lines
919 B
Plaintext
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||
|
<installer-script minSpecVersion="1.000000">
|
||
|
<title>Go</title>
|
||
|
<options customize="never" allow-external-scripts="no"/>
|
||
|
<domains enable_localSystem="true" />
|
||
|
<installation-check script="installCheck();"/>
|
||
|
<script>
|
||
|
function installCheck() {
|
||
|
if(!(system.compareVersions(system.version.ProductVersion, '10.6.0') >= 0)) {
|
||
|
my.result.title = 'Unable to install';
|
||
|
my.result.message = 'Go requires Mac OS X 10.6 or later.';
|
||
|
my.result.type = 'Fatal';
|
||
|
return false;
|
||
|
}
|
||
|
return true;
|
||
|
}
|
||
|
</script>
|
||
|
<choices-outline>
|
||
|
<line choice="com.googlecode.go.choice"/>
|
||
|
</choices-outline>
|
||
|
<choice id="com.googlecode.go.choice" title="Go">
|
||
|
<pkg-ref id="com.googlecode.go.pkg"/>
|
||
|
</choice>
|
||
|
<pkg-ref id="com.googlecode.go.pkg" auth="Root">com.googlecode.go.pkg</pkg-ref>
|
||
|
</installer-script>
|