Patched the main script
authorDevon Kearns <dookie@kali.org>
Tue, 11 Dec 2012 00:11:28 +0000 (17:11 -0700)
committerDevon Kearns <dookie@kali.org>
Tue, 11 Dec 2012 00:11:28 +0000 (17:11 -0700)
debian/patches/add-sys-path-append [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]

diff --git a/debian/patches/add-sys-path-append b/debian/patches/add-sys-path-append
new file mode 100644 (file)
index 0000000..877c916
--- /dev/null
@@ -0,0 +1,13 @@
+Add sys.path.append to the main script to have
+it look in /usr/share/wol-e/ for the rest of 
+the files it needs.
+--- a/wol-e.py
++++ b/wol-e.py
+@@ -17,6 +17,7 @@ from __future__ import with_statement
+ from impacket.ImpactDecoder import *
+ import socket, struct
+ import sys, os, datetime, time
++sys.path.append("/usr/share/wol-e")
+ import math
+ import scapy.utils
+ import scapy.layers.l2
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..9b4d62d
--- /dev/null
@@ -0,0 +1 @@
+add-sys-path-append