Skip to content

Commit

Permalink
Update upgrade_nx: the .deb is on a new page.
Browse files Browse the repository at this point in the history
  • Loading branch information
daemianmack committed Mar 1, 2013
1 parent 02aa779 commit 97152d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/upgrade_nx.rb
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby

require 'open-uri'
body = open("http://www.nomachine.com/preview/download-package.php?Prod_Id=3").read
body = open("http://www.nomachine.com/preview/download-package.php?Prod_Id=15").read
package_uri = body[%r{http:.*?nxserver[^/]+\.deb}] or abort "Uri for debian package not found!"
# since we don't get the amd64 uri directly
package_uri.sub!('i386', 'amd64')
Expand Down

0 comments on commit 97152d4

Please sign in to comment.