Skip to content

Commit

Permalink
fix name/location
Browse files Browse the repository at this point in the history
  • Loading branch information
till committed Nov 23, 2011
1 parent 2025d67 commit 309961f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions bin/apt-repair-sources
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ require 'trollop'
require 'net/http'

$: << File.join(File.dirname(__FILE__), "..", "lib")
require 'AptRepairSources'
require 'apt/repair/sources'

opts = Trollop::options do
version "apt-repair-sources 0.1.0 (c) 2011 Till Klampaeckel"
Expand All @@ -58,7 +58,7 @@ else
end
end

p = AptRepairSources::find_platform
p = Apt::Repair::Sources::find_platform

work.each do |f|
File.open(f, "r") do |infile|
Expand All @@ -74,7 +74,7 @@ work.each do |f|
next
end

helper = AptRepairSources.new(l)
helper = Apt::Repair::Sources.new(l)
url = helper.get_url(nil)
el = helper.get_el

Expand Down
2 changes: 1 addition & 1 deletion lib/AptRepairSources.rb → lib/apt/repair/sources.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#

# @author Till Klampaeckel
class AptRepairSources
class Apt::Repair::Sources

# @param [String] line A line from a source.list file.
# @return [AptRepairSources]
Expand Down

0 comments on commit 309961f

Please sign in to comment.