/[pkg-ruby-extras]/trunk/hobix/debian/patches/01_disable-upgrade.diff
ViewVC logotype

Contents of /trunk/hobix/debian/patches/01_disable-upgrade.diff

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3895 - (hide annotations) (download)
Sat Aug 8 14:43:21 2009 UTC (3 years, 9 months ago) by lucas
File size: 1211 byte(s)
SVN reorganization (first part, until packages/libqt4-ruby)
1 paulvt 782 diff -Nabur hobix-0.4+cvs20060808.orig/lib/hobix/commandline.rb hobix-0.4+cvs20060808/lib/hobix/commandline.rb
2     --- hobix-0.4+cvs20060808.orig/lib/hobix/commandline.rb 2006-06-09 00:09:49.000000000 +0200
3     +++ hobix-0.4+cvs20060808/lib/hobix/commandline.rb 2006-08-11 22:58:59.000000000 +0200
4     @@ -102,14 +102,16 @@
5     end
6    
7     # Update your Hobix setup
8     - def upgrade_app_explain; "Check for updates to Hobix."; end
9     + def upgrade_app_explain; "Check for updates to Hobix [partially disabled in Debian]."; end
10     def upgrade_app_args; []; end
11     def upgrade_app( config )
12     - require 'rbconfig'
13     - require 'open-uri'
14     - c = ::Config::CONFIG.merge( config )
15     - eval(open("http://go.hobix.com/").read)
16     -
17     + #require 'rbconfig'
18     + #require 'open-uri'
19     + #c = ::Config::CONFIG.merge( config )
20     + #eval(open("http://go.hobix.com/").read)
21     + puts "** Retrieving a new Hobix version is disabled in Debian, " +
22     + "please update via apt/dpkg!"
23     + puts "Only performing administrative upgrade task (if any)..."
24    
25     # Now look at all blogs and delete entries/index.{hobix,search}
26     if @config['weblogs'].respond_to? :sort

  ViewVC Help
Powered by ViewVC 1.1.5