boxen / puppet-sublime_text_2

5 stars 22 forks source link

Sublime Text 2.app not installed? #13

Open sporkd opened 10 years ago

sporkd commented 10 years ago

On a newly installed OSX 10.8.5 box, the Sublime Text 2.app is not getting installed. However, the application support directory and the packages I specified are getting created. Wondering if it's just me?

ghost commented 10 years ago

Noticed the same issue yesterday. Creates directories and installs packages but not the app itself.

kristianfreeman commented 10 years ago

:+1:

Verified that the DMG file linked here is still valid. It is getting downloaded but something is getting messed up after that.

sporkd commented 10 years ago

I think it might have something to do with the way they're naming their DMGs. It's downloading a file called Sublime Text 2.0.2.dmg but it extracts to just Sublime Text 2.dmg. It's probably either a bug with the appdmg provider type, or there might be a way to specify the dmg name in addition to the source.

This looks like it's expecting the dmg name to be the basename of the source. https://github.com/puppetlabs/puppet/blob/master/lib/puppet/provider/package/appdmg.rb#L43