Pre-build
authorDevon Kearns <dookie@kali.org>
Tue, 29 Jan 2013 19:35:32 +0000 (12:35 -0700)
committerDevon Kearns <dookie@kali.org>
Tue, 29 Jan 2013 19:35:32 +0000 (12:35 -0700)
debian/patches/edit-module-dir [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]

diff --git a/debian/patches/edit-module-dir b/debian/patches/edit-module-dir
new file mode 100644 (file)
index 0000000..97ab094
--- /dev/null
@@ -0,0 +1,20 @@
+Patched the main script to look directly to /usr/share/urlcrazy for its other modules.
+--- a/urlcrazy
++++ b/urlcrazy
+@@ -25,11 +25,11 @@ if File.symlink?(__FILE__)
+   $LOAD_PATH << File.dirname( Pathname.new(__FILE__).realpath )
+ end
+-require 'inflector.rb'
+-require 'tld.rb'
+-require 'common-misspellings.rb'
+-require 'homophones.rb'
+-require 'country.rb'
++require '/usr/share/urlcrazy/inflector.rb'
++require 'usr/share/urlcrazy/tld.rb'
++require 'usr/share/urlcrazy/common-misspellings.rb'
++require 'usr/share/urlcrazy/homophones.rb'
++require 'usr/share/urlcrazy/country.rb'
+ $VERSION="0.5"
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..df6ff27
--- /dev/null
@@ -0,0 +1 @@
+edit-module-dir