<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<installer-gui-script minSpecVersion="1">
    <title>OpenSSH 9.9p2</title>
    <allowed-os-versions>
        <os-version min="10.9.5" max="10.9.5"/>
    </allowed-os-versions>
    <options customize="never" require-scripts="true" rootVolumeOnly="true"/>
    <domains enable_anywhere="false" enable_currentUserHome="false" enable_localSystem="true"/>
    <installation-check script="pm_install_check();"/>
    <script><![CDATA[
    function pm_install_check() {
        if(system.version.ProductVersion) {
            var productVersion = system.version.ProductVersion;
            var majorVersion = parseInt(productVersion.split('.')[0]);
            var minorVersion = parseInt(productVersion.split('.')[1]);
            var patchVersion = parseInt(productVersion.split('.')[2] || 0);

            if (majorVersion == 10 && minorVersion == 9 && patchVersion == 5) {
                return true;
            }
        }
        my.result.type = 'Fatal';
        my.result.title = 'Incompatible OS Version';
        my.result.message = 'This package requires Mac OS X 10.9.5. Your computer is running ' + system.version.ProductVersion + '.';
        return false;
    }
    ]]></script>
    <pkg-ref id="Wowfunhappy.openssh">
        <bundle-version/>
    </pkg-ref>
    <choices-outline>
        <line choice="default">
            <line choice="Wowfunhappy.openssh"/>
        </line>
    </choices-outline>
    <choice id="default"/>
    <choice id="Wowfunhappy.openssh" visible="false">
        <pkg-ref id="Wowfunhappy.openssh"/>
    </choice>
    <pkg-ref id="Wowfunhappy.openssh" version="9.9p2" onConclusion="none" installKBytes="25377">#openssh-component.pkg</pkg-ref>
</installer-gui-script>