| 1 |
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
|