autopkg / apettinen-recipes

5 stars 16 forks source link

Update git-lfs.pkg.recipe for new binary name #42

Closed rickheil closed 2 years ago

rickheil commented 2 years ago

As of 3.2.0 it seems that LFS is packaging things with the version string appended. This PR updates the FileMover step to work with this change from upstream.

Before change: ❯ autopkg run git-lfs.munki Processing git-lfs.munki... [Errno 2] No such file or directory: '/Users/rick.heil/Library/AutoPkg/Cache/local.munki.git-lfs/pkgroot/usr/local/bin/git-lfs-3.2.0/git-lfs' -> '/Users/rick.heil/Library/AutoPkg/Cache/local.munki.git-lfs/pkgroot/usr/local/bin/git-lfs' Failed.

After change: ❯ autopkg run git-lfs.munki Processing git-lfs.munki...

The following packages were built: Identifier Version Pkg Path


com.github.git-lfs  3.2.0    /Users/rick.heil/Library/AutoPkg/Cache/local.munki.git-lfs/git-lfs-amd64-3.2.0.pkg
apettinen commented 2 years ago

Thanks for this!