autopkg / timsutton-recipes

AutoPkg recipes
16 stars 37 forks source link

Create DaVinciResolve14.munki.recipe #46

Closed rfitzwater closed 7 years ago

rfitzwater commented 7 years ago

tweaked version 12 recipe so it installs version 14

timsutton commented 7 years ago

Download recipe looks good - now I'm just getting this:

MunkiImporter
{'Input': {'MUNKI_REPO': '/tmp',
           'pkg_path': u'/Users/timsutton/Library/AutoPkg/Cache/local.munki.DaVinciResolve14/unzip/DaVinci_Resolve_14.0_Mac.dmg',
           'pkginfo': {
    catalogs =     (
        testing
    );
    description = "This software installs the free version of DaVinci Resolve 14 which features up to 10x faster editing performance, Fairlight audio post production, dozens of new filters and effects and more. Technical support is available via the Blackmagic Design community forums.";
    "display_name" = "DaVinci Resolve 14";
    installs =     (
                {
            CFBundleIdentifier = "com.blackmagic-design.DaVinciResolve";
            CFBundleName = "DaVinci Resolve";
            CFBundleShortVersionString = 14;
            path = "/Applications/DaVinci Resolve/DaVinci Resolve.app";
            type = application;
            "version_comparison_key" = CFBundleShortVersionString;
        }
    );
    "minimum_os_version" = "10.11.6";
    name = DaVinciResolve14;
    "uninstall_method" = "uninstall_script";
    "uninstall_script" = "#!/bin/sh\n            # Run the uninstaller script provided with the app.\n            # Alternatively, replace this with your own version of their uninstaller.\n            # For example, their uninstaller intentionally leaves the following on the\n            # system, which you may disagree with:\n            # - /Library/Application Support/Blackmagic Design/DaVinci Resolve\n            # - /Library/Preferences/Blackmagic Design/DaVinci Resolve\n            #\n            # Their uninstaller is also executable and world-writable.\n\n            UNINSTALL_SCRIPT=\"/Applications/DaVinci Resolve/Uninstall Resolve.app/Contents/Resources/uninstall.sh\"\n\n            [ -x \"${UNINSTALL_SCRIPT}\" ] || exit 1\n            \"${UNINSTALL_SCRIPT}\"\n            ";
    uninstallable = 1;
    version = 14;
},
           'repo_subdirectory': u'apps/DaVinciResolve14'}}
makepkginfo execution failed with error code 2: No such file or directory
Failed.
Receipt written to /Users/timsutton/Library/AutoPkg/Cache/local.munki.DaVinciResolve14/receipts/DaVinciResolve14-receipt-20170920-161212.plist

The following recipes failed:
    DaVinciResolve14.munki
        Error in local.munki.DaVinciResolve14: Processor: MunkiImporter: Error: makepkginfo execution failed with error code 2: No such file or directory
rfitzwater commented 7 years ago

Any idea why you are getting that error? Unfortunately, I don't have a lot of time right now to debug this.

timsutton commented 7 years ago

I just double-checked it again, and I figured out the error, which was totally my fault. Going to merge these now, thanks for your work!