Skip to content

Commit

Permalink
updated firefox and skype OS X sources
Browse files Browse the repository at this point in the history
  • Loading branch information
yundt committed Dec 28, 2011
1 parent 7b9e397 commit e0d5d78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cookbooks/firefox/recipes/default.rb
@@ -1,7 +1,7 @@
case node[:platform]
when 'mac_os_x'
dmg_package "Firefox" do
source 'http://mozilla.snt.utwente.nl/firefox/releases/5.0/mac/en-US/Firefox%205.0.dmg'
source 'http://mozilla.snt.utwente.nl/firefox/releases/latest-9.0/mac/en-US/Firefox%209.0.1.dmg'
action :install
end

Expand Down
2 changes: 1 addition & 1 deletion cookbooks/skype/recipes/default.rb
Expand Up @@ -16,7 +16,7 @@

when 'mac_os_x'
dmg_package "Skype" do
source "http://www.skype.com/go/getskype-macosx.dmg"
source "http://www.skype.com/go/getskype-macosx-samplingb"
action :install
end
end

5 comments on commit e0d5d78

@ku1ik
Copy link
Contributor

@ku1ik ku1ik commented on e0d5d78 Dec 28, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yundt: do you know if there is symlink or sth to latest release of Firefox? This source path will get changed on every release and it would be a pitty to change it here every month or so...

@yundt
Copy link
Contributor Author

@yundt yundt commented on e0d5d78 Dec 29, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately I haven't found any symlink that would always point to the latest release of Firefox. Even the mozilla.org "latest" directory contains a .dmg file with a specific version number in its name, so it will surely get changed eventually.

But you got me thinking that it would be better to change the url to something without the "latest" keyword, so at least it stays valid longer. The next commit will achieve this.

@ku1ik
Copy link
Contributor

@ku1ik ku1ik commented on e0d5d78 Dec 29, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great.

@mackuba
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might be too crazy, but it seems to work ;)

echo "http://mozilla.snt.utwente.nl/firefox/releases/latest/`curl -s http://mozilla.snt.utwente.nl/firefox/releases/latest/MD5SUMS | grep '\./mac/en-US' | sed -e 's/^[0-9a-f ]*//'`"

@ku1ik
Copy link
Contributor

@ku1ik ku1ik commented on e0d5d78 Dec 30, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.